json21
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to add a search form to TwentyTwelve sidebarI actually added this:
<?php get_search_form(); ?>, and it worked.Thank you.
Forum: Fixing WordPress
In reply to: Trying to figure out why this code does not workThank you. That’s it. Everything is working fine.
Forum: Fixing WordPress
In reply to: Trying to figure out why this code does not workI 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/ (no adult content)
Forum: Fixing WordPress
In reply to: Trying to figure out why this code does not workThe 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
In reply to: Trying to figure out why this code does not workI 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.phpThe contents of the files (directly from the server) are here:
# # #
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
In reply to: How to add an iframe to sidebar.php?The code is working. Thanks a lot!
Forum: Plugins
In reply to: Yoast SEO plugin – 404 on category-sitemap.xmlsitemap_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
In reply to: Yoast SEO plugin – 404 on category-sitemap.xmlsitemap_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
In reply to: Yoast SEO plugin – 404 on category-sitemap.xmlsitemap_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
In reply to: Yoast SEO plugin – 404 on category-sitemap.xmlI 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/
Forum: Fixing WordPress
In reply to: Yoast SEO plugin – 404 on category-sitemap.xmlI 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/
Forum: Plugins
In reply to: Yoast SEO plugin – 404 on category-sitemap.xmlI 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/
I would need it for all sites, for “category/” and date (“2012/10/26”). Is this possible?
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 (all the other ones are subdomain.domain-name.com).
Does this mean that I would need to replace:
with:
Another thing is that I want to strip “/category” clug too, and it is currently apearing in search results in Google etc.
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.