slurve
Forum Replies Created
-
Forum: Plugins
In reply to: [Cresta Social Share Counter] Reorder buttons?OK, I’ll just modified the core file for now. Thanks!
Forum: Plugins
In reply to: [Multiple Post Thumbnails] Problem passing ID to the_post_thumbnail()Ah, you’re correct. The ID was correct all along, I just didn’t have a ‘secondary-image’ attached to the post. Well, I did, but the actual image file wasn’t in my /uploads directory so it wasn’t loading the fallback m.png image (and instead loading a broken image which Chrome doesn’t display).
Anyway, I think I’m good now. Thanks for the plugin and the response!
Worked. Thanks!
Great. Thanks for the clarification.
Forum: Plugins
In reply to: [Co-Authors Plus] Displaying meta data from user profile pageThis worked like a champ. Thanks!
I just positioned the #switch div absolutely at the top of my page. It would have been a challenge to position it anywhere else (like within a certain div somewhere) but it’s pretty simple to move it to the top of the page. I used !important to overwrite styles set in the plugin CSS.
Forum: Plugins
In reply to: [Contact Form 7] PHP Notice: Undefined index: contact-form-7How did you fix? I noticed this error on my site when I deregistered CF7’s scripts and styles conditionally in functions.php.
Got it. Thanks for the response. I ended up handling this issue with CSS.
Forum: Plugins
In reply to: [Video Sidebar Widgets] [Plugin: Video Sidebar Widgets] youtube https urlAny updates on this? Would love to see this feature added.
I was able to accomplish this with the following code:
<?php $featuredA = get_post_thumbnail_id($post->ID); /* first thumbnail */ $featuredB = MultiPostThumbnails::get_post_thumbnail_id('CUSTOM_POST_TYPE', 'SECONDARY_THUMB_NAME', $post->ID); /* second thumbnail */ echo do_shortcode('[gallery exclude="'.$featuredA.','.$featuredB.'"]'); ?>
Forum: Themes and Templates
In reply to: Conditionals in functions.phpWorked like a champ. (Coffee and the code.) Thanks again.
Forum: Themes and Templates
In reply to: Conditionals in functions.phpDoh. Perhaps I need an afternoon cup of coffee. ?? Thanks for the help, Chip.
Forum: Themes and Templates
In reply to: Conditionals in functions.phpGood to know about the
add_meta_boxes_{post-type}
action. Thanks. Is there a way to add the meta box only to pages using a certain template? Would I be able to useis_page_template()
withinmytheme_add_bio_metabox()
?Forum: Themes and Templates
In reply to: Conditionals in functions.phpChip, I’m hooking into admin_init. (Good call, I’ll change the function name.) Basically, I’m trying to add the bio_excerpt meta box to all pages using the page_staff_bio.php template.
Forum: Themes and Templates
In reply to: Conditionals in functions.phpThanks for the response, esmi. Doesn’t seem to work, though.