Community Forums › Forums › Archived Forums › Design Tips and Tricks › Editing Featured Widget Info – This Time w/Image Links
Tagged: categories, editing, lifestyle theme
- This topic has 4 replies, 3 voices, and was last updated 12 years, 1 month ago by
cdils.
-
AuthorPosts
-
March 10, 2013 at 5:03 pm #25345
delectablychic
MemberApologies for posting this over and over, but I don't think I've been getting the exact solution I was looking for. I've taken some of the tips and was able to do SOME things, but I'm looking to do a bit more, including:
1. I've been able to move the category/categories from below the post to above, but have not been able move it above the title. Ideally, that's where I'd like to see it. Tips on whether it's possible to bold the font or get rid of the icon on the left would be great too. This is using the standard Featured Widget.
2. Now, if I use Featured Widget Amplified, for some reason, a quotation mark appear before the category name. Note that I am using short code: [post_categories sep="/" before= " " ]. Is this a plugin glitch, considering that it does not appear when the regular featured widget is activated?
3. Inside a post/page: Category lists now appear both before the post and after. Would like to get rid of categories after the post (while keeping tags), in addition to the greyish background in both cases.
Thanks.
DelectablyChic!, an online lifestyle publication with a focus on style, dining, travel and more.
March 11, 2013 at 8:38 pm #25560delectablychic
MemberHi,
No tips?
Thanks
DelectablyChic!, an online lifestyle publication with a focus on style, dining, travel and more.
March 16, 2013 at 5:23 pm #28340cdils
ParticipantIt's me again! Just a quick tip that if you're the first to respond to your own post it looks like an "answered" post. 🙂
Okay, let's see what we can do...
1. We need to hook in the post_meta above the title. Here's the code you'll want for that:
remove_action('genesis_after_post_content', 'genesis_post_meta');
add_action('genesis_before_post_title', 'genesis_post_meta');
If that get's you closer, but no cigar, try adding a higher priority to the action like this:add_action('genesis_before_post_title', 'genesis_post_meta', 5);
Looks like your site is down so I can't troubleshoot the CSS part, but try using Firebug to inspect the CSS in the browser so you can locate which style element you'll need to change. Or you could poke around your style.css file and find the part that styles the post meta. 🙂
2. I'm gonna call in the troops and see who knows the answer to this one.
3. To get rid of the categories, try adding this to functions.php (from http://my.studiopress.com/snippets/post-meta/#customize):
/** Customize the post meta function */
add_filter(
'genesis_post_meta'
,
'post_meta_filter'
);
function
post_meta_filter(
$post_meta
) {
if
( !is_page() ) {
$post_meta
=
'[post_tags before="Tagged: "]'
;
return
$post_meta
;
}}
As for the CSS, again it's hard to troubleshoot without seeing your site live. Post a follow-up when you can and I'll check it out.
Cheers,
Carrie
Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂
I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.
March 16, 2013 at 7:02 pm #28385wpspeak
MemberCdils - Can you use all that to customize the Featured Post widget? Or it is only applicable for loop? Because delectablychic is using featured post widget.
March 17, 2013 at 3:07 pm #28668cdils
Participant@wpspeak - Good point. I think it should capture it, but I'm not 100%.
Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂
I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.