tonnyochieng
Member
Posted 3 years ago #
How do i shorten the archives in the homepage, category and monthly archives so that not the full posts are displayed in the list of posts/archives that appeas? I would also like to stop the add to any image from displaying in the lists but only in individual post page. My site is http://post.netspier.net
There's a few FAQs that should help in this: http://codex.wordpress.org/FAQ_Layout_and_Design#Text_and_Content_Display
Not sure about the "add to any image" question. Are you using an ad plugin? Maybe this will help you:
http://codex.wordpress.org/User:Tomhanna/Adding_Ads_to_Wordpress
tonnyochieng
Member
Posted 3 years ago #
the add to any plugin is the one that enables a reader to email or share a post. i.e. the silver bar below each listed post.
tonnyochieng
Member
Posted 3 years ago #
about the shortening, i want to shorten the posts body to a certain number of characters and maybe add (...) to the end as an indicator that it has been shortened.
See template tag, the_content(), and Customizing_the_Read_More to understand how you can use <!--more--> in your posts to dictate the "shortening".
You may need to check with the plugin author about how to 'stop the add to any image from displaying in the lists but only in individual post page".
tonnyochieng
Member
Posted 3 years ago #
I replaced all the
get_content()
tags wit
get_excerpt()
in the files archive.php, index.php and results.php and the archives in the respective pages shortened with (...) at the end. As for the add to any plugin image i removed the php command for tags in the pages and the image disappeard with the tags. Single posts appear with all intact which is 100% what i wanted. Thanks for that lead on tags.
tonnyochieng
Member
Posted 3 years ago #
Here is the final result http://post.netspier.net