I’m developing a website, which already comes with your plugin by default, from one moment to the next, version v1.0.5 started to conflict…
I have already deactivated all non-essential plugins for this phase, and it continues to conflict, I had to revert to version v1.0.4. and then everything works fine.
I am trying to modify the static content for the conference section in the Silicon theme.
Changing things in the editor and updating it isn’t reflecting on the frontend.
How do I modify the content?
Hello. I’ve been using your MAS static content plugin for a long time and I have your shortcodes in hundreds of my product pages on my WooCommerce site.
Since I updated to the newest version a few days ago, it’s causing problems with WooCommerce product archive pages (product category pages and the shop page).
The problem it’s causing is with variable products. In my WooCommerce store, my simple products display an “Add To Cart” button (which works fine still). But my variable products display a “View Options” button that takes a visitor to the specific product page so they can select which option they want.
Since the update, all my “View Options” buttons have been replaced with “Add To Cart” buttons, and that doesn’t work. The visitor cannot simply add a variable product directly to the cart because they have to select the option they want first. This is causing problems with being able to shop in my store.
So I’ve disabled the MAS Static Content plugin for now to get around that problem.
I have verified that it’s indeed the MAS Static Content plugin causing the issue because as soon as I deactivate it, the problem goes away and the “View Options” buttons reappear. As soon as I reactivate MAS Static Content plugin, the problem returns.
So, for now, I have your plugin deactivated.
But that’s caused another problem, simply because hundreds of my product pages have MAS Static Content shortcodes on them, so now, all that static content is not being displayed and the visitor can see the shortcode on the page instead of the actual content the shortcode is supposed to display.
This is causing a problem with my SEO because when Google crawls my pages, the content is now missing, so that’s messing with my pages’ rankings.
What can we do to fix the issue with the “View Options” buttons being replaced with the “Add To Cart” buttons?
]]>Hi friends, please I noticed my static contents file no longer exist. The static contents are no blank and tried to reinstall, this is what am seeing “Could not copy file. /public_html/wp-content/plugins/mas-static-content/mas-static-content.php
Plugin installation failed.
Thanks
]]>In your code on
mas-static-content/includes/class-mas-static-content-shortcodes.php on line 56
it currently has the following
echo '<div class="mas-static-content' . esc_attr( $class ) . '">' . apply_filters( 'the_content', $post->post_content ) . '</div>';
Can that be updated to simply be
echo '<div class="mas-static-content' . esc_attr( $class ) . '">' . apply_filters( 'widget_block_content', $post->post_content ) . '</div>';
Or you could change how you get the post_content from being to include the_post();
before you access the_content
filter, and then add wp_reset_postdata();
after you output your content to reset the post back to the main query.
As any plugin that utilizes the_content filter for its traditional uses inside of the loop will have an unexpected outcome when your plugin is enabled.
Thanks!
]]>Error message:
The response is not a valid JSON response.
Please see image:
This only happen on MAS static block. I have no problem updating other post/page.
]]>i am using electro wordpress theme my website is https://www.farhaani.pk
today i got some message that recomended plugins MAS STATIC CONTENT i install it and then it says to run updater i did it after that my home page ontents not showing also my left side off canvas menu which have mega menus not showing please help me as quick as possible
Hi,
Is this the plugin included in the electro theme? If yes, what would be the shortcode to add a static block?
Thanks!