Title: json21's Replies - page 3 | WordPress.org

---

# json21

  [  ](https://wordpress.org/support/users/json21/)

 *   [Profile](https://wordpress.org/support/users/json21/)
 *   [Topics Started](https://wordpress.org/support/users/json21/topics/)
 *   [Replies Created](https://wordpress.org/support/users/json21/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/json21/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/json21/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/json21/engagements/)
 *   [Favorites](https://wordpress.org/support/users/json21/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 31 through 45 (of 56 total)

[←](https://wordpress.org/support/users/json21/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/json21/replies/?output_format=md) [2](https://wordpress.org/support/users/json21/replies/page/2/?output_format=md)
3 [4](https://wordpress.org/support/users/json21/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/json21/replies/page/4/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to add a search form to TwentyTwelve sidebar](https://wordpress.org/support/topic/how-to-add-a-search-form-to-twentytwelve-sidebar/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/how-to-add-a-search-form-to-twentytwelve-sidebar/#post-3463728)
 * I actually added this: `<?php get_search_form(); ?>`, and it worked.
 * Thank you.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to figure out why this code does not work](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/#post-3449080)
 * Thank you. That’s it. Everything is working fine.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to figure out why this code does not work](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/#post-3449066)
 * I created a brand new WordPress installation (the newest version, 3.5.1), and
   Twenty Twelve 1.1 was included by default. I did not install anything else. This
   means I dont have any plugin, WordPress cache, or anything like that.
 * I uploaded twenty_twelve_sticky_new over the ftp (exactly the same files that
   I included in pastebin in the previous post), and I display sticky on the top(
   as the first post), and 8 posts underneath it.
 * The website is located at [http://blog.gloryhole-porn.net/](http://blog.gloryhole-porn.net/)(
   no adult content)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to figure out why this code does not work](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/#post-3449052)
 * The sticky is on the top instead of on the bottom, and there is 8 + 1 posts on
   the page, instead of 10.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to figure out why this code does not work](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/trying-to-figure-out-why-this-code-does-not-work/#post-3449038)
 * I am showing a sticky post on the top, and eight regular posts underneath it,
   so it is nine posts total on the main page. Settings -> Reading -> Blog pages
   show at most is set to 10.
 * I am basing it on a child theme, and I use the following files:
 * style.css
    index.php functions.php
 * The contents of the files (directly from the server) are here:
 * [http://pastebin.com/bJGCyD4t](http://pastebin.com/bJGCyD4t)
 * # # #
 * I will be probably working on modifying 20 different wordpress thems, and all
   of them need to display a single sticky post on the bottom of the main page. 
   Unfortunately there is no plugin that achieves this task.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to add an iframe to sidebar.php?](https://wordpress.org/support/topic/how-to-add-an-to-sidebarphp/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/how-to-add-an-to-sidebarphp/#post-3332939)
 * The code is working. Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Yoast SEO plugin – 404 on category-sitemap.xml](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-2/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-2/#post-3156725)
 * sitemap_index.xml doesnt have any formatting too (there is no grey, red colors
   etc). Links to sitemaps are just text (along with the dates etc) and they are
   all shown inline on the first line.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Yoast SEO plugin – 404 on category-sitemap.xml](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-1/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-1/#post-3156722)
 * sitemap_index.xml doesnt have any formatting too (there is no grey, red colors
   etc). Links to sitemaps are just text (along with the dates etc) and they are
   all shown inline on the first line.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Yoast SEO plugin – 404 on category-sitemap.xml](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml/#post-3155909)
 * sitemap_index.xml doesnt have any formatting too (there is no grey, red colors
   etc). Links to sitemaps are just text (along with the dates etc) and they are
   all shown inline on the first line.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Yoast SEO plugin – 404 on category-sitemap.xml](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml/#post-3155889)
 * I guess the solution would be to mass change all categories from “Auto detect”
   to “Always include” but how to do this?
 * This doesnt work for me:
 * [http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/](http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Yoast SEO plugin – 404 on category-sitemap.xml](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-1/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-1/#post-3156713)
 * I guess the solution would be to mass change all categories from “Auto detect”
   to “Always include” but how to do this?
 * This doesnt work for me:
 * [http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/](http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Yoast SEO plugin – 404 on category-sitemap.xml](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-2/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/yoast-seo-plugin-404-on-category-sitemapxml-2/#post-3156712)
 * I guess the solution would be to mass change all categories from “Auto detect”
   to “Always include” but how to do this?
 * This doesnt work for me:
 * [http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/](http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Switching from domain.com/2012/10/23/post-title to domain.com/post-title](https://wordpress.org/support/topic/switching-from-domaincom20121023post-title-to-domaincompost-title/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/switching-from-domaincom20121023post-title-to-domaincompost-title/#post-3139810)
 * I would need it for all sites, for “category/” and date (“2012/10/26”). Is this
   possible?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Switching from domain.com/2012/10/23/post-title to domain.com/post-title](https://wordpress.org/support/topic/switching-from-domaincom20121023post-title-to-domaincompost-title/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/switching-from-domaincom20121023post-title-to-domaincompost-title/#post-3139795)
 * Thank you. It is a network of 50 sites, and the main site (in Network Admin -
   > Dashboard -> All Sites) is set to [http://www.domain-name.com](http://www.domain-name.com)(
   all the other ones are subdomain.domain-name.com).
 * Does this mean that I would need to replace:
 * [http://domain.com/$4](http://domain.com/$4)
 * with:
 * [http://www.domain-name.com](http://www.domain-name.com)
 * Another thing is that I want to strip “/category” clug too, and it is currently
   apearing in search results in Google etc.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Switching from domain.com/2012/10/23/post-title to domain.com/post-title](https://wordpress.org/support/topic/switching-from-domaincom20121023post-title-to-domaincompost-title/)
 *  Thread Starter [json21](https://wordpress.org/support/users/json21/)
 * (@json21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/switching-from-domaincom20121023post-title-to-domaincompost-title/#post-3139722)
 * It recognizes domain.com/post-name when I enter it in a browser (when it is set
   to domain.com/2012/10/24/post-name), but it doesnt work the other way around.
 * When I click on domain.name/2012/10/24 in Google results I get an 404 error from
   WP.

Viewing 15 replies - 31 through 45 (of 56 total)

[←](https://wordpress.org/support/users/json21/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/json21/replies/?output_format=md) [2](https://wordpress.org/support/users/json21/replies/page/2/?output_format=md)
3 [4](https://wordpress.org/support/users/json21/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/json21/replies/page/4/?output_format=md)