• Wondering if something in 2.3 would cause the Headline Images plugin using the_title(‘-image-‘) not to function?

    I’m getting a hyperlink rendering of the title with -image- in front of it on reload after upgrading.

Viewing 15 replies - 16 through 30 (of 34 total)
  • Out of curiosity, does anyone know what Matt is using? He seemed to update without a hiccup, so perhaps he has his own personal plugin to make headline images.

    Yeah, Matt…spill it!

    OMG it works perfectly! Thank youuuuuu! ??

    I fixed it! YAY! It’s a DYNAMIC plugin, and I hated to lose it!

    Thanks for ALL your help! My heart is warm!

    ANappyGirl!

    What did you do? I so need help with this too.

    @eebookreviews

    I just followed the instructions posted in the earlier part of the thread. If you need help with a specific part of the instructions (I had to figure out WHERE to find the code to replace it with the workaround), tell us which part, and we’ll help you!

    Only thing: The headline doesn’t display correctly, when I click on specific posts, listed under “categories”. What could be causing that? Did I not do a complete edit of the code?

    Oh! Lord… I got it! It’s funny cause I followed the same steps before and it didn’t work. Oh well. It’s works now and that’s the main thing.

    So if I wanted to use this plugin for the headers on my sidebars. How would I do that?

    Oh never mind. It works the same as it did before in the installation instructions.

    IANAPC (I am not a PHP coder), but is there any reason you can’t add this to the code (as a separate function):

    if( !function_exists( 'image_title' ) ) {
    	function image_title() {
    		global $imageheadings_is_title;
    		$imageheadings_is_title = TRUE;
    		the_title();
    		$imageheadings_is_title = FALSE;
    	}
    }

    If you combine that with mixvio’s global variable modification, you should just be able to replace all instances of the_title(‘image’) with image_title(). (Works for me.)

    Maybe I’m being naive, newbie or just lame… but why not just use ImageHeadline_render? Like this:

    <?php echo ImageHeadline_render(''.$post->post_title.''); ?>

    Works for me, with no need to change the code… the plugin’s code, I mean… it really is the simplest workaround I can think of.

    Here’s a different solution. I reworked the plugin to give you a couple of new template tags and then reworked the whole admin interface because I was on a roll. Anyway, my alternative plugin is called TTFTitles and can be found at https://templature.com/2007/10/18/ttftitles-wordpress-plugin/.

    Couldn’t have done any of it without Brian’s code to work from, of course.

    @jrrl

    I’m about to test our your new plugin, in my new template. If this works, you will get the BIGGEST hug in your entire life — in cyberspace, of course.

    Be right back…

    *Update* I got tons of “Warning: Unexpected Character input…” errors. And what is “chmod a+w”? I’m familiar with permissions, but I’ve never seen it written like that.

    @jrrl
    I think you nailed it, love! YAY! Looks great!
    *runs thru the computer and gives jrrl a BIG BEAR HUG*

    Sorry mods, I had to shout!

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘2.3 and Headline Images Plugin’ is closed to new replies.