I've run into an issue where a page's content repeats multiple times. This only happens on 1 page on my site. http://prntscr.com/99pn5s
Disabling Yoast SEO solves the issue, but disabling the plugin really isn't an acceptable long term solution.
If anyone has run into a similar situation, I would appreciate any help on how to prevent this content from being repeated, or knowing what causes this.
Here is the rendered HTML markup: http://pastebin.com/Xbi0ce6Z
I'm the developer behind the custom plugin.
After some digging, I find out:
Yoast SEO plugin will use get_the_excerpt as og:description and it'll output it by default.
the default filter of get_the_excerpt: wp_trim_excerpt will use the_content as excerpt when post doesn't have a native excerpt.
my solution is disable the get_the_excerpt in that particular page.
Related
We’re just getting started with WooCommerce and are preparing a store with just a few categories and products in it to play around with it and get to know it before we get seriously into it.
We don’t yet have an SSL certificate for our website.
Does this mean that we won’t be able to create a store and test it until we get an SSL certificate?
As is, we’re seeing blank pages when we go to cart and try to go to checkout. On those pages, our header is there, but the page below the header is empty, blank.
I posted this same question in an existing thread that mentioned this, but haven’t had a reply. Thought maybe it might be missed in that other thread.
maybe, can you see do code shablon this page?
Thank you.
I came across this issue while writing a custom WooCommerce theme from scratch. I realized that if your theme has a page.php template (or any of the fall-back templates in the WP hierarchy) - you need to make sure, that the_content(); function gets called in the template that your page post-type is going to use (either page.php, singular.php or index.php) - if you are using the standard WooCommerce setup.
If not, the WooCommerce short-codes are simply never output - which the cart, checkout, my-account and order-tracking pages depend on.
Make sure to enter the [woocommerce_cart] shortcode in the Cart page and [woocommerce_checkout] shortcode on the checkout page.
And Goto Woocommerce settings and set the Cart Page, Checkout page.
This should solve the issue.
Meanwhile, check the Woocommerce -> System Status and look for errors.
If you are using any page builder, make sure you enter the Shortcodes in the text box modules.
If you still face the issue, try reverting back to Gutenburg editor or classic editor instead of Page builder.
How to debug:
wordpress.org/support/topic/how-to-debug-issues-after-updates
Perhaps it would be easier to find what is causing the conflict. Try temporarily switching back to the WordPress Twenty Sixteen Theme, or Storefront, and disable all plugins except for WooCommerce. If that resolves the issue, then slowly re-enable features until you find the one that’s causing the conflict
I am running into an error were Yoast keeps pulling blog posts that are for members only and causing login screen to pop up. When I disable Yoast across the whole website it works. But i need to be able to keep keep the plugin without running into errors like this.
Log in to your WordPress website. When you're logged in, you will be in your 'Dashboard'. On the left-hand side, you will see a menu. In that menu, click on 'SEO'.
Hope this help.
There is no any option for custom apply plugin in yoast. If you find any error then change plugin and use All in One SEO Plugin. This is best.
Yoast SEO is a WordPress plug-in designed to help you improve some of the most important on-page SEO factors–even if you aren’t experienced with Web development and SEO. This plug-in takes care of everything from setting up your meta titles and descriptions to creating a sitemap. Yoast even helps you tackle the more complex tasks like editing your robots.txt and .htaccess.
Some of the settings may seem a little complex if you’re new to SEO and WordPress, but Yoast created a complete tutorial to help you get everything set up. And the team at WPBeginner made this handy video to help you get set up quickly.
I was wondering could someone please help. I am working on a WordPress website. I have added blog posts and everything was going fine until unexpectedly I start getting the following message. (Side point: If you look at the message, available is actually spelled incorrectly also - AVAIBLE)
Now I have 11 blog posts, separated on the blog overview into 4 per page. So 1st page has 4 posts, 2nd page has 4 posts and 3rd page has 3 blog posts. When I set one of the posts as a draft, I should see 2 on the last (i.e. 3rd) page, but instead I see the 404 error page, even though there should be 2 posts on that page. When I publish the drafted post, everything works fine and I see the expected 3 posts on the last page.
Each of the posts themselves are fine, as I have tested clicking on each one and it brings me to their designated page as expected. But it's just in the main overview of the blogs that I'm having the issue.
This is a major issue as I now cannot add blog posts without this happening at certain time. Can anyone please help me resolve this issue?
Thanks
Seeing that the 404 page of the theme has text is both grammatically incorrect and contains a spelling error, the theme you are working with has, to put it nicely, issues, primarily with pagination and post queries. (I'd much rather say "the theme is junk).
Use deductive logic to rule out the theme and plugin(s). Switch to the default WordPress twentyfifteen theme and see if the blog pagination is correct. Deactivate Yoast and see if pagination works.
If the theme is broken, or if Yoast breaks the theme, find a better theme; a good place to look is https://wordpress.org/themes/ All themes in the WordPress directory have been checked out and there are dedicated support forums for each.
Besides that, this is really isn't a programming question. You need to show specific code that is causing the problem, like the page queries themselves. You're better off in the theme and plugin support forums and at https://wordpress.org/support/
So I am trying to do this and I don't know how. I have a wordpress powered website with a plugin called "frontier-post" in it. This plugin makes a new front-end post submission. The way to use it is to put the shortcode "[frontier-post]" in any post in my wordpress page and that page turns into this.
I want to make a custom page for myself, where I can have the content created by this plugin there too. So I do not want it to be a post in my wordpress, but lets say at a corner in the custom page. I have searched and found these but the suggestions there would not work. I am able to include the wordpress so that the custom page has access to posts, etc. but even using this
echo do_shortcode('[frontier-post]');
would not help me. (even if header is included)
These are the similar things i found:
Wordpress/PHP - How to use plugins outside wordpress-powered pages?
Need Help for my Custom Page Template
I would really appreciate it if you could help me with this.
If you are creating a PHP page that isn't going to be rendered inside WordPress, you can't use a Plugin of the WordPress engine to accomplish what you are wanting to build. (As the accepted answer to one of the pages you link to indicates).
Instead, you might be able to use the json-api plugin and have your custom page query it for the data. While it won't render the shortcode, it will give you the raw data to work with.
http://wordpress.org/plugins/json-api/
Edit:
Based on a comment, your do_shortcode should work...just try it without the square brackets.
I am using TN3Gallery on my wordpress. As soon as I enable Nivo Slider TN3Gallery stops working. I couldn't find any solution for this problem. I don't think wordpress lets you disable specific plugins on a page basis. How can I fix this issue ?
TN3Gallery Page; http://goo.gl/UZpza
You need to use wordpress Conditional Tags in your theme if you want to disable plugin at certain pages/posts. following link may be helpful to you -
Link For Conditional tags
Discussion Board Link
Simple Example