WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post and content upside down (11 posts)

  1. jasonlwe
    Member
    Posted 1 year ago #

    Well , I used the code '<?php the_content( $more_link_text, $stripteaser ); ?>' to add the see more button to my website but after I used it. My page went into the a strange series. The post's title is eventually below the content which was really weird. Can somebody help out ?

  2. Sergio Vasco
    Member
    Posted 1 year ago #

    Quite difficult to actually help you without seeing the problem. A link possibly to your website may help.

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    I used the code '<?php the_content( $more_link_text, $stripteaser ); ?>' to add the see more button

    where exactly? in which template?

    please use the pastebin for the code - http://codex.wordpress.org/Forum_Welcome#Posting_Code

  4. jasonlwe
    Member
    Posted 1 year ago #

    I added it in the index.php in the loop.
    Oh, and i have a screenshot for that problem.
    It's here.

  5. jasonlwe
    Member
    Posted 1 year ago #

  6. Dave
    Member
    Posted 1 year ago #

    Need your code for index.php pasted in Pastebin, as alchymyth suggested.

  7. jasonlwe
    Member
    Posted 1 year ago #

  8. jasonlwe
    Member
    Posted 1 year ago #

    Sorry, I am pretty new so not sure what to do. Hope you guys can help me out patiently. Oh, and the link i posted just now is the loop of my index.php

  9. Dave
    Member
    Posted 1 year ago #

    Take this code out for starters:
    <?php the_content( $more_link_text, $stripteaser ); ?>

    I think it needs to be within here:

    <div class="art-PostContent">
    
            <?php //if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
              <?php //if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
              <?php echo $the_output;$the_output = ''; ?>
    
    </div>

    ...but I'm not quite sure the correct syntax.
    Perhaps someone more knowledgable in this aspect could suggest.

  10. jasonlwe
    Member
    Posted 1 year ago #

    I'll give it a try

  11. jasonlwe
    Member
    Posted 1 year ago #

    It worked ! thanks a lot guys ! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.