lennox wright
asked 9 years ago

Hi
I would appreciate if some one could point me in the right direction, I am using the wallpress theme pulling Rss feeds, I only need about 20 words from each feed item is there a place to add a excerpt tag.
I have tried replacing in content.php
the_content(); to the_excerpt();
that helps but all my images are gone, all I need to do is limit the text following the images
 
ALSO how do I remove the page pagination and use Next Previous
I appreciate any help I can get getting desperate I have tried everything I have gone through all support pages there
 
Thanks Much

4 Answers
DominicStaff
answered 9 years ago

Please send me username & password of your site (via private answer) I will help you resolve this issue.
Regards,

Allen
answered 9 years ago

@lennox : well ,Β Here is the code that will change the length of the_excerpt() to 20 words and the content πŸ™‚

First , you add this function to functions.php :
if ( !function_exists( 'wallpress_excerpt_length' ) ) :
function wallpress_excerpt_length( $length ) {
return 20;
}
endif;
add_filter( 'excerpt_length', 'wallpress_excerpt_length', 999 );

And then in content.php - line 61 :

you change "the_content()" to "the_excerpt()"

Β 
Hope it works :D!

nobita
replied 9 years ago

And in addition, in file functions.php from line 300 to 305 is where the “pagination” functions lies. If you want to remove , just delete it or you want to change it , just edit there πŸ˜€ . But in my opinion, u shouldn’t change it , because all the navigation of the page link together πŸ˜€

Dominic Staff
replied 9 years ago

Awesome ! thanks for your helps πŸ™‚

DominicStaff
answered 9 years ago

Hi,
Please refer the answer of @nobita provided. If you still face there issue, you can send me username & password of your site (via private) for further checking.
Regards,

lennox wright
answered 9 years ago

ok so I need to add this to show on all my pages for the life of me I cannot find which template controls my site pages I tried every single one
this theme is a pain can you help me to get this on my site closest to the top
echo do_shortcode(β€˜[print_responsive_thumbnail_slider]’);

Dominic Staff
replied 9 years ago

I will mark the “Resolved” status for this question and you can find the answer in the following question:http://www.designwall.com/question/remove-pagination/

Powered by DW Question & Answer Pro