Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1251392
    sandra.i
    Participant

    Ah ok thanks, I was using text edit.

    That still hasn’t fixed the issue though.

    The Categories on the blog page should be below the end of the post (below ‘continue reading). At the moment they’re not showing up at all..?

    Instead a Tag area is showing, which I don’t want to have.

    #1251398
    sandra.i
    Participant
    This reply has been marked as private.
    #1251518
    Lely
    Moderator

    Hi There,

    Please copy this file _content.php from \wp-content\themes\x\framework\views\renew to this folder \wp-content\themes\x-child\framework\views\renew. Open the copied file and then look for this line:
    <?php x_get_view( 'global', '_content' ); ?>
    Add the following line below that code:
    <?php x_get_view( 'renew', '_content', 'post-footer' ); ?>

    Hope this helps.

    #1251529
    sandra.i
    Participant

    Hi

    I don’t have an ‘_content’ file in \wp-content\themes\x\framework\views\renew ?

    There is only a ‘content’ file

    #1252303
    Rad
    Moderator

    Hi there,

    Yes, please try the content.php, sorry for the confusion.

    Thanks!

    #1253034
    sandra.i
    Participant

    Hi

    There is no change. I can’t see what i’m doing wrong.

    #1253039
    sandra.i
    Participant

    Actually there is a change:

    The image is now in the wrong place, it’s below the title .

    http://www.rochesterclinic.co.uk/news/

    I’d like it to look like this:

    > IMAGE

    > DATE

    > TITLE

    > POST CONTENT

    > CATEGORIES

    #1253052
    sandra.i
    Participant

    Ok now its showing the tags twice at the bottom of the post

    this is getting very confusing, please help!

    #1253188
    Rue Nel
    Moderator

    Hello There,

    Please make the contents of your renew/content.php like this:

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/CONTENT.PHP
    // -----------------------------------------------------------------------------
    // Standard post output for Renew.
    // =============================================================================
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      <div class="entry-wrap">
        <?php x_get_view( 'renew', '_content', 'post-header' ); ?>
        <?php if ( has_post_thumbnail() ) : ?>
          <div class="entry-featured">
            <?php x_featured_image(); ?>
          </div>
        <?php endif; ?>
        <?php x_get_view( 'renew', '_content', 'post-header' ); ?>
        <?php x_get_view( 'global', '_content' ); ?>
      </div>
    </article>

    Hope this helps. Kindly let us know.

    #1253223
    sandra.i
    Participant

    Hi

    Now there are 2 headers in each post and the categories metadata is still on top

    It should be like this:

    > IMAGE

    > METADATA: DATE

    > TITLE

    > CONTENT

    > METADATA: CATEGORIES

    #1253225
    sandra.i
    Participant

    The DATE and CATEGORIES have to be split to above and below the post

    #1253501
    Jade
    Moderator

    Hi Sandra,

    The entries in the news page seem to follow what you have indicated above. See screenshots below.

    Were you able to get it sorted?

    Thanks!

    #1253545
    sandra.i
    Participant

    No worries, I’ve done it now, thanks for your help.

    #1253862
    Jade
    Moderator

    You’re most welcome, Sandra.

  • <script> jQuery(function($){ $("#no-reply-1246981 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>