Could not add ‘LoginLogout’ link using BAW login logout plugin

Have you tried printing your custom link just by checking if user is logged in? you can do this using bult in wp functions <?php if ( is_user_logged_in() ) { echo ‘<a href=”‘.wp_logout_url( get_permalink() ).'” title=”Logout” class=”hunderline”>Logout</a>’; } else { echo ‘<a href=”‘.wp_login_url( get_permalink() ).'” title=”Login” class=”hunderline”>Login</a>’; } ?>

Display my plugins content based on a pages post_id

How you do this could be more or less hard depending on where the content is supposed to be included in the page, and you don’t explain that, but assuming you are including it in the post body… add_filter( ‘the_content’, function($content) { global $post; $db_showmap_options = get_option( ‘db_showmap_options’ ); if (!empty($db_showmap_options[‘page_id’]) && $post->ID == $db_showmap_options[‘page_id’]) … Read more

quicktag breaking FancyBox plugin on my blog’s front page

Your images aren’t being encapsulated by the hyperlink markup, so unless you’re using additional calls, Fancybox won’t know which hyperlinks/images to Fancybox. You’ll either need to fix this in the template loop that your homepage uses, or add some hacky additional call like: jQuery(‘.post .imgpost’).on(‘click’, function($) { $.fancybox(); });

WooCommerce Hiding A Certain Category From Being Displayed On Single Product

You are right about woocommerce: get_categories() being different from wordpress: get_categories(), the woocommerce function uses get_the_term_list(), so there is no way to exclude categories, same applies to get_the_category_list(). You can use wp_list_categories() for this, especially take a look at this example from the codex page: Display Categories Assigned to a Post Display the categories (or … Read more

foreach loop displaying below content summary

You can hook into the action like this: Code: add_action( ‘woocommerce_after_shop_loop_item’, ‘wpse124226_wc_product_attribute_list’ ); function wpse124226_wc_product_attribute_list() { $value = get_the_terms( $product->id, ‘pa_package’); echo “<ul>”; foreach ( $value as $values ) { echo “<li>”; echo $values->name; echo “</li>”; } echo “</ul>”; } Take a look at the codex Plugin API to inform yourself about using hooks. BTW … Read more

The Events Calendar Plugin – List View Background Colour Issue [closed]

If I understand you correctly, you can add this code to #tribe-events-content.tribe-events-list in your stylesheet like so: #tribe-events-content.tribe-events-list { margin-bottom: 60px; background: #FFFFFF; /* ADD A BACKGROUND COLOR HERE */ } That will add a background to the Upcoming Events section so that the text is more easily readable. Here’s a screenshot of the change.