WordPress.org

Ready to get started?Download WordPress

Forums

"MORE..." hacking? (1 post)

  1. domizianogalia
    Member
    Posted 7 years ago #

    Hello there.

    I'd like to know if there is a way to hack the MORE...
    In my blog I frequently use it. I'm also using some plugins (footnotes and RustLinkOffs) that add additional information at the end of the post and I would like to make them appear only in the full post, but not when it's splitted with a MORE... (as it happens now instead)

    Note that the problem isn't simply checking if it is a single page, because there could be very small posts that are not splitted with a MORE..., so it is correct that the footnotes appear in the home.

    The code:

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

    <?php ShowRustLinkoffs("Whos Talking:"); ?>

    So, simply, I need to know if there is a way to include the plugin in the MORE... declaration or, better, if there is a way to do something like "If MORE... exists then do nothing else display the plugin"

    This second option is preferable because the other plugin I use, footnotes, hasn't a code to be added somewhere, so I can't include it in the MORE... declaration, but it's directly plugged in the core of WP, so I'll have to hack the plugin php directly.

    Thanks a lot. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags