We are using the Enfold theme, and Wishlist and Compare from you.
It’s working perfectly when logged in, but logged out, the do_shortcodes won’t work.
We do not have any caching plugins activated.
We are using the shortcodes in a product grid, and also in a slider, but as I said, they only work logged in. I can’t seem to understand why.
These are my snippets:
Grid:
#child-theme/woocommerce/content-product.php
# (previous code)
global $product;
# ...
?>
<div class="tag-wrapper">
<?php echo apply_filters( 'the_content',' [yith_compare_button] ');
<?php
# (rest of the code)
Slider: (same link, but (url)/shop-startseite/)
# ...
$html .= do_shortcode( '[yith_wcwl_add_to_wishlist product_id="' . $product->get_id() . '"]', false );
# ...
They both work perfectly logged in, but not logged out, so I guess it’s not an issue within the code itself.
Can you guys help me out here?
Thanks in advance!
Thanks in advance.
]]>I added the shortcode to the page and it works but doesn’t show the content of the posts! And when I add the do_shortcode to the functions.php file of my theme file the filter appears on the top part of my website and it’s not even the same as in the shortcode filters. How can I fic this? and where show I put the do_shortcode in the functions.php file?
Thank you in advance!
]]>But I need the shortcode in my php markup and I get an error.
“The webinar either no longer exists or an error has occured.”
This is my php.
<?php echo do_shortcode(‘[gotowebinar-reg key=”4634038406459723019″]’); ?>
I’m still in the WP loop and I checked my quote marks so I can’t figure what’s happening.
]]>i currently having problems with the blog index page where i’m loading the wordpress posts via do_shortcode:
echo do_shortcode('[ajax_load_more container_type="div" posts_per_page="6" post_type="post" scroll="false" progress_bar="true" category="' . $cat . '"]');
On the english version of my page your plugins still loads the default language (german)!
In the past this works… but since a view weeks, month or more (i’m not sure because i recognised it last week) it only shows the default language posts.
Could you give me some advice how to fix this.
best regards robert
Currently I am try to call short code of YOP POLL from theme’s function.php when my poll submitted successfully I want to show result only on popup with some Thank you msg.
My Code is working fine and all other short code like Contact-form, Popup anything are working fine in pop but but when I am going to call [yop-poll id=”1″] it return same as string instead of HTML of poll.
Will you please explain why its happen and how can I solve it?
Please let me know if you need more detail from my side.
Thank you.
]]>First of all, thanks for this great plugin!
Everything works OK, except for the do_shortcode function. When I try to insert the shortcode in a php file, nothing is shown. The shortcode seems to be working but the content is not loaded.
For example:
do_shortcode('[my_movie_db]'
Return the following code:
<div id="mmdb-content_655_movie"><index></index></div>
Thanks!
]]>