WordPress.org

Ready to get started?Download WordPress

Forums

Image Headlines Plugin (9 posts)

  1. mdrdsr
    Member
    Posted 9 years ago #

    Coldforged -- Love your plugin! Have it working for my titles. I want to experiment with the actual content. I can not seem to get it to work. Below is the code that I would want to now have rendered via ImageHeadline plugin. What would the new line look like? Tried posting on your site but posting is halted

    <div class="storycontent">
    <?php the_content(__('(more...)')); ?>
    </div>

  2. Marc
    Member
    Posted 9 years ago #

    Check the Cold Forged thread for the plugin. Look for the RunPHP plugin and what it does. Briefly it allows you to use image headlines anywhere within the page, including dropcaps.

    You can see an example on my blog, check the pages. And be advised images aren't enabled on all themes. (try manji and plain vanilla)
    http://cranialcavity.net/wordpress/index.php

    EDIT While on the subject of this plugin, and in case CF drops by.

    A suggestion: Would it be possible to modify the plugin to change fonts and colors as your themes chage via the theme switcher. As written now it parameters are set to appear on one theme they remain the same as themes are "switched."

  3. jennmiller
    Member
    Posted 9 years ago #

    Marc, I was also wondering about the use of the plugin with themes. Anyone know if there's a way to enable changing the font, or color of the font between themes?

  4. mdrdsr
    Member
    Posted 9 years ago #

    I have already installed the PHP and it was rendering the content as an image, but unfortunatley it was rendering the actual call to the php function. I could not figure out the appropriate syntax to make the call for content...I tried exactly what is in the CF thread but to no avail...

    <?php echo ImageHeadline_render( 'Whatever text','formats' ); ?>

    where I replaced 'whatever text' with

    '<?php the_content(__('(more...)')); ?>'

    It appears that the syntax involving the ' or " is not valid. Any ideas?

  5. philpeeps
    Member
    Posted 9 years ago #

    try passing the content to a variable, then including the variable, without quotes, in the function call for the title images...

    <?php echo ImageHeadline_render( $yourcontentvariable,'formats' ); >;

  6. ColdForged
    Member
    Posted 9 years ago #

    See this comment for a method to include arbitrary, dynamic content.

  7. jafer
    Member
    Posted 9 years ago #

    Whenever I try to access coldforged's site, I get this error page:

    Forbidden
    You don't have permission to access /archives/2005/02/18/new-image-headline-plugin-is-finally-ready/ on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    --------------------------------------------------------------------------------
    Apache/1.3.33 Server at http://www.coldforged.org Port 80

    Any possibility we'll actually be able to access your site some time in the near future?

  8. ColdForged
    Member
    Posted 9 years ago #

    What browser are you using?

  9. jafer
    Member
    Posted 9 years ago #

    I was using Avant browser, but that never even occurred to me. I just went there in Firefox and I could see it fine (looks good btw).

    What's that all about? How could it be forbidden access in one but not the other?

Topic Closed

This topic has been closed to new replies.

About this Topic