Plugin Author
Ajay
(@ajay)
Are you changing the settings from the Widget under Appearance > Widgets > TwitterCounter?
Thread Starter
jshare
(@jshare)
No. My theme is old and not widget-enabled, so when I click Appearance > Widgets, it just says No Sidebars Defined.
Regardless, the Twittercounter badge currently appears in my blog’s header, not the sidebar.
Plugin Author
Ajay
(@ajay)
Are you using the manual install option?
Thread Starter
jshare
(@jshare)
I’m calling it with <?php do_action(‘echo_tc’); ?> in my theme, if that’s what you mean?
Plugin Author
Ajay
(@ajay)
Can you try replacing the do_action code with
<?php decho ald_tc(); ?>
Thread Starter
jshare
(@jshare)
Actually, it should be <?php echo ald_tc(); ?> but that didn’t work either.
It only shows the first version, with the embedded avatar image, which is nice, but breaks my theme so I still need the old feedburner-like image.
Plugin Author
Ajay
(@ajay)
Which of the options are you setting up in the Settings page? The 3rd?
Thread Starter
jshare
(@jshare)
Under ‘Select Style of TwitterCounter badge’, it doesn’t matter which one I choose, or if I choose something under ‘Older buttons’. Regardless, it’s the embedded avatar image that gets displayed.
Plugin Author
Ajay
(@ajay)
Can you try this:
<?php echo ald_tc('custom') ?>
Thread Starter
jshare
(@jshare)
That did it. I can now pass any of the options like ‘custom’ or ‘avatar’ or ‘black’ and get the one that I want.
I guess this is a bug? The choice in the UI is being ignored and needs to be hardcoded?
Plugin Author
Ajay
(@ajay)
It’s because I pass the default value in the function definition and so it was ignoring the settings page.
I plan on releasing a new version of the plugin with better controlled settings (not the one I pushed through last night).
Thread Starter
jshare
(@jshare)
Got it, thanks all around