jasonlwe
Member
Posted 10 months 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 ?
Sergio Vasco
Member
Posted 10 months ago #
Quite difficult to actually help you without seeing the problem. A link possibly to your website may help.
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
jasonlwe
Member
Posted 10 months ago #
I added it in the index.php in the loop.
Oh, and i have a screenshot for that problem.
It's here.
jasonlwe
Member
Posted 10 months ago #
Need your code for index.php pasted in Pastebin, as alchymyth suggested.
jasonlwe
Member
Posted 10 months ago #
jasonlwe
Member
Posted 10 months 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
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 »', '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.
jasonlwe
Member
Posted 10 months ago #
jasonlwe
Member
Posted 10 months ago #
It worked ! thanks a lot guys ! :)