I’ve been searching for an answer to the same problem, with no luck. What controls the order in which these things are displayed?
Hi Matt,
I’m sorry to say that I never did work it out.
I got around it by choosing a combination of plugins that displayed the icons in the order that I wanted them.
Sorry I can’t be more help!
Best of luck!
When I ran into this (using like buttons, a podcast, and a rating) I had to do a little digging.
I read through the plugin’s code (and a LOT of trial by error) and figured out what functions caused the display.
I was then able to hard code each plugins output exactly where I wanted it into the loop in my theme.
It ain’t easy, and it is different for every plugin
Thanks! Rev.
So you edited the plugin? What happens when the plugin gets updated?
No no, I find the function that causes the display inside the plugin, and then I put that into my theme where I want the plugin.
For instance, to display my podcast with ratings I use:
<?php if (function_exists('the_powerpress_content') ) : ?>
<?php if( $episode_content = get_the_powerpress_content() ) : ?>
<div class="powerPress">
<fieldset class="episode-box">
<legend>Voodoo Empire Mix</legend>
<?php if(function_exists('the_ratings') ) : ?>
<?php the_ratings(); ?>
<br />
<?php endif; ?>
<?php echo $episode_content; ?>
</fieldset>
</div>
<?php endif; ?>
<?php endif; ?>
To conditionally display each as appropriate. Sometimes I can find functions to call from plugin instructions, from plugin author websites, or from actually having to look at the plugin code
Great!
Thanks for sharing that. It makes sense. Good to know for future projects!
Sure! It’s real easy with some plugins…. with others you really have to dig around. But once I built my own theme, I really wanted fine grained control over where everything went…. that’s when I really started poking around in the plugins.
I don’t know php real well, so for me its a lot of trial and error.