• Creator
  • #19915

    Nate Goode

    Glad you guys are back up and running.
    I have a couple questions about the blog shortcode:

    On occasion, when a page with the blog shortcode (grid mode) loads, it orphans the first post on its own row, although it only takes up one column, and loads any other posts on the 2nd column and lower. Is there a way to fix this?

    Is there a native way to colour the background of the relevant posts in the shortcode (grid again)? I thought I saw an option for it, but for the life of me can’t find it now. I’ve used CSS to colour the background .post-content-wrapper, but this leaves a thin strip transparent at the bottom of each post (inside the border).

    And last blog question: Are sticky posts supposed to be at the top of these blog shortcode calls (still grid)? We had a sticky that stayed up for a while, but now it’s going by date as though it weren’t sticky. Is it working as expected? Is there a fix for this?

    Finally (not about the blog), is there a way to set the page template default to the 100% width? We mostly don’t use sidebars, and would like to have that be our default if possible.

    Thanks guys, and again, glad you’ve ironed out whatever was going on what that DB error!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Denzel Chia
    Post count: 3230
    #19919 |


    Please post your website url to the pages that you are having issues.
    We need to take a look in order to provide possible solutions.


    Nate Goode
    Post count: 6
    #19921 |
    This reply has been set as private.
    Post count: 403
    #19944 |

    Hi Nate,

    Thanks for writing in!

    Firstly upon checking, the first post hasn’t been shown alone in the first row and neither the remaining posts shifts down after. However, please provide some screenshots with the issue.

    In regard to setting the background on your relevant posts, so you can use the custom code which you’ve used before and to eliminate the extra space under the post inside of the border, you can use the following code under Appearance > Theme Options > Custom Css:

    Lastly, the “regular times” post doesn’t seem to be sticky at my end, so would you mind confirming that you’ve chosen sticky option for the post.

    For achieving the full width page layout, you can try adding the following code into your custom CSS field:


    Nate Goode
    Post count: 6
    #19947 |

    Hello, the code stuff worked great!

    I’ll grab a screenshot when the orphaned post issue comes up again; as I said, it doesn’t always happen, but I’ll copy it next time.

    The sticky post is definitely sticky. I turned it off and on, and it still doesn’t stick. I even created a new post to test stickiness and it too got sorted by date only, not sticky.


    Denzel Chia
    Post count: 3230
    #19951 |


    I just tested the sticky post in my localhost.
    The sticky post is working properly with the blog shortcode.

    I see that you have a comment in your webpage source code that begins with w3tc, which leads me to believe that you are using a cache plugin. You need to clear cache after updating, in order for new content to appear.

    This is a screenshot of my sticky post, which I changed to a date in 2007 just to make sure that it is sticky. http://prntscr.com/86c9ir

    This is a screenshot of the blog shortcode, which is working properly.

    The following is the shortcode I used for testing.

    Guide to Creating WordPress XML Sitemaps and Submission

    Xml Sitemaps Guide

    Adding XML sitemap to your site is an important step towards improving your site’s ability to get indexed by search engines. Adding XML sitemaps is an easy task that will only require you a few minutes and you can now monitor how your site will be performing in the search engines. Whenever, I want to know the number of my indexed pages on Google I always use the old trick; typing ‘site’ followed by a colon then the site URL. This allows me to quickly see the index status of my website. In the contrary adding a sitemap allows me to have a detailed report on how the site has been indexed. There are a two prerequisites to adding an XML sitemap to your website, the first is you need to have a Google Webmaster Tools account, Bing webmaster tools account and secondly you need a plugin or a means of generating an XML sitemap.

    What is an XML Sitemap?

    It helps to begin by understanding what an XML sitemap is and why we need to generate it and submit to search engines. A sitemap is a mapped out structure of your website that include all the links to various pages on your site. XML sitemaps guide search engine spiders as they index your website and they showcase your content and eliminate the content you don’t want indexed by search engines.

    In certain cases there may be duplicate content on your site that you don’t want indexed, a sitemap submitted to search engine can guide them not to index the 'noindex' pages. The simple sitemap can be a document that contains all the links in your site. The links can have additional information about each of the pages.

    Sign up on Google and Bing Webmaster Tools

    The first step is to sign up on Google Webmaster tools since you want to submit the sitemap to Google search engine after you have generated it. You should also sign up with Bing webmaster tools in order to submit the XML site map to Bing. To sign up with Google Webmaster Tools go to the Google Webmaster Console and simply use your Gmail account to sign in.

    xml sitemapsGenerating XML Sitemaps

    There are two ways you can generate XML sitemaps in WordPress, you can either choose to auto generate your site map with plugins or you can generate the sitemaps manually. The latter is suitable for small sites but when you are dealing with a large site it is impossible to continually update your sitemap manually. This will not only become tedious work but will waste a significant amount of time.

    Generating XML sitemap manually

    To generate an XML sitemap manually you should go to this site –XML Sitemaps

    XML sitemap generator

    Enter your site URL, change frequency, last modification and priority then generate the sitemap. As earlier said, this approach is only suitable for a site that has few pages. Fir a large site you require a means to auto generated the site maps and there are two most useful WordPress plugins for this task.

    Best XML Sitemap WordPress Plugins

    I would recommend two plugins as the best for generating XML sitemap. These are the best plugins; Yoast SEO plugin and Google XML sitemaps plugin. I prefer the former since it has other SEO features that I tend to use for WordPress on-page optimization. You should avoid installing and activating both plugins since they are likely to generate plugin conflict.

    I will use the Yoast SEO plugin for my demonstration on how to generate and submit an XML sitemap. For the purpose of this tutorial, I previously installed WordPress manually on web host. I will use this demo site to illustrate on how to generate a sitemap and submit it to search engines for indexing.

    Generating XML sitemap with a Plugin

    Generating an XML sitemap with a plugin is very easy since you just need to install the plugin and navigate to the settings; XML sitemaps then generate the sitemap, review it and submit it to search engines.

    Step 1: Install Yoast SEO plugin to Generate Sitemap

    Install and activate the Yoast SEO plugin just like any other plugin. When the plugin is active on your WordPress dashboard menu you will see the link to the settings of Yoast Plugin.

    xaml sitemaps

    Step 2: Generate the XML sitemap

    Under the Yoast SEO menu click on the XML sitemaps menu and enable the sitemap feature. Under the general tab you should now click on the button to view your sitemap which will be automatically generated by the plugin. You can edit the number of maximum entries you want to see in the sitemap, the user sitemap allows you to generate sitemap for authors.

    XML sitemaps

    Post types tab allows you to set how you whether you want different posts types to be indexed. I always leave out the media since I do not want it on my sitemap. Finally, you can exclude posts, categories and tags using the other tabs. After making your preferred sitemap changes, you should save the settings and now submit the sitemap to search engines.

    Step 3: Reviewing the Sitemap

    After you have set up the setting of your sitemap, it is time to now review and see how your sitemap looks. This is important since it allows you to either add or eliminate some of the URLs that you do not want submitted to the search engines. Click on the XML sitemap button under the general tab and you will be redirected to your sitemap in a new tab. It should look something like this:


    Submitting XML Sitemaps to Search Engines

    After generating XML sitemap, you should now login to your Google Webmaster tools account or Bing webmaster tools and submit your sitemap for indexing. To submit on Google Webmaster tools, you need to first add the property then test your sitemap before submitting it. You should click on the property that is verified on Google Webmaster tools, then click on add sitemap button to test and add a sitemap.

    google sitemaps


    We have successfully created an XML sitemap and submitted it to Google Search engines. You too can create a sitemap for your site and begin your journey to better search engine ranking. I hope this tutorial is helpful to you as you create your website’s sitemap. If you would like to share further comments, compliments or ask questions, feel free to leave a comment.


    Nate Goode
    Post count: 6
    #20015 |

    Hello and thanks for looking,
    Yes, the host has a cache, but I clear it regularly.

    I did some more testing, and it appears that the sticky issue is related to the use of categories. It returns to working fine if the cat-slug field is blank, but if limited to certain categories, the sticky stops working. Is there a way around this, or should I limit to using exclude categories to keep things off of this feed?


    Denzel Chia
    Post count: 3230
    #20033 |


    Sorry, I have no suggestions.
    Please use exclude categories if it works properly for you.


Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Questions about blog shortcode’ is closed to new replies.