About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Hi Sridhar, how are you? How is possible remove the category titles above the loop on category pages in Genesis?
There will not be any category titles above the loop on category pages in Genesis by default, isn’t it?
Hi Sridhar! Please, visit this page http://bestbitcoin.com.br/sobre-bitcoin/
I want to remove the line that is between the title and breadcrumb. I’m using the Genesis Simple Hook plugin and insert it to only appear on posts and do not wish to appear on the page! Helpe bro! Thks! =]
Is this what you want to get rid of? http://www.screencast.com/t/JJl9NYy4
That’s right, this is what I want to remove only the pages and not in the posts! =]
Add this CSS: http://pastebin.com/raw.php?i=iA9esiQt
Thanks for this code – it’s really useful! I’m actually interested in displaying the category above each post. Is that possible? Not all of the meta, just the category.
Where? above each post on Category archives or Posts page?
Above each individual post. So if I reviewed Wolf of Wall Street, I could call the article “Wolf of Wall Street” and above that it would say, “Movie Review” by default.
http://i.imgur.com/eodqQQ5.png
At 1 or 2 or 3?
That’s a very helpful diagram! I would ideally like the Category name to be at 2 and the rest of the post info (Author, Date) to be at 3, just as it is in that picture.
Like this? -> http://i.imgur.com/cx9hNqe.png.
Notice that I have removed the categories from entry footer.
Yes, exactly like that!
Follow http://www.sridharkatakam.com/moving-post-categories-entry-meta-post-title-genesis/
Do you have a post on adding the category description s in the category archive page?
Here: http://www.sridharkatakam.com/category-archive-headline-intro-text-genesis/
I didn’t click the subscribe oops!
How about for Date Archive pages? Can you do something similar?
Hi. I’ve tried (unsuccessfully) to move the Title above the descriptive text on the category pages (as shown on the link above). Each woocommerce category has intro text that’s entered in the Archive Intro Text field on the Product Category page. Can you guide me please?
Thanks
Thanks Sridhar for the useful info! I took this a step further to create a function that will output the title/name for all archive pages (category, tag, author and blog page).
single_term_title() is used to get the Category or Tag name (could be tweaked to easily support custom taxonomy name as well).
Check out the code on github here.
I really do love this method, though I do have one thought. You are using an array to find the category by listing the specific array number, if you have multiple categories assigned to one post though, the array will return the first category that pops up instead of the category you might’ve clicked on. For example, we have two posts, The first has a category of “A” the second post has two categories called “A” and “B”. Looking at the front-end now, we have a category list set up so we can choose to go to either category “A” or “B”, so we click on “B” and it takes us to the category “B” page. When you look at the title, the array returned the cat. “A” title instead of cat. “B” because “A” comes first in your cat. list array. So I suggest this to you, use single_cat_title( , ) instead because it returns the page title of the queried category.
add_action ( 'genesis_before_loop', 'show_category_name' );
function show_category_name() {
if (is_category()) {
echo '';
echo single_cat_title('', true);
echo '';
}
}
My divs disappeared from the first and last echo, but that’s the gist.
Thanks, Shane. I was having the problem you mentioned so I applied your solution (with the original divs) and it worked perfectly.