WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] etc. in Formatting

[Resolved] etc. in Formatting

  • Hello all!

    I’m trying to use <!–more–> tag with the_content for my loop, but nothing is cut off, it renders the whole post.

    I’ve tried in different themes, without any other plugins, and using hacks like <?php global $more;$more = 0;?>.

    How can I use <!–more–> in ‘Settings > Formatting > Single Event Page’?

    Best,

    Owen

    http://wordpress.org/extend/plugins/events-manager/

Viewing 8 replies - 1 through 8 (of 8 total)
  • have you tried to use placeholder #_EVENTEXCERPT and then for readmore link – <a href="#_EVENTURL">read more</a> ?

    That works fine agelonwl, but I’m looking to use the_content to put images in the post. Any ideas?

    can you give us a sample snippet of what you have at the moment? e.g. are you using wp_query?

    Sure,
    I’m using the Imbalance 2 theme. Here’s my loop:

    <?php while ( have_posts() ) : the_post(); ?>
    <?php if ($imbalance2_theme_options['images_only'] == 0): ?>
    <div class="categories"><?php imbalance2_posted_in(); ?></div>
    <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
    <?php the_content() ?>
    <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('homepage-thumb', array('alt' => '', 'title' => '')) ?></a>
    <?php endif ?><div class="texts">
    <?php if ($imbalance2_theme_options['images_only'] == 1): ?>

    Thanks for your involvement, hope this helps!

    Plugin Author Marcus

    @netweblogic

    I think you need to add something to the_content, e.g. the_content(‘read more…’)

    http://codex.wordpress.org/Function_Reference/the_content

    No such luck with that one, I’m afraid.
    I’ve suspected it’s a conflict/quirk of my theme.
    Does this normally work as intended (the <!–more–> is stored in the ‘Formatting > Single Event Page’ template)?
    Regards,
    O

    Looks to me as if the <!–more–> tag doesn’t work either in the formating box or the Edit Event page. That’s something we need to test and look into.

    Plugin Author Marcus

    @netweblogic

    Whilst we look into this, one thing… #_EVENTNOTES will not cut off the more tag, but #_EVENTEXCERPT will.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] etc. in Formatting’ is closed to new replies.
Skip to toolbar