• 0
Sign in to follow this  
Followers 0

Hide a line in blog summary

Question

Posted · Report post

Hi All

 

I have a gallery with a photographer credit in a blog post and just below it the main text for the blog post.

 

I want to hide the credit from the summary that appears on the blog list page. Is there a method of telling pagelines to ignore certain text in when garbing text for the the summary form a blog post?

 

Refer to summary on the Kate, Brian & Teddy post here: https://www.magva.com/blog/ to see what I mean

 

Thanks

Keith

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Posted · Report post

Ah.  I see what you're saying now.  the way to get rid of that is to use the excerpt feature of WordPress and just put in the lines you want as your excerpt.  That'll override the actual content that's showing up.

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hey Keith,

 

Can you be more specific?  I'm not sure what you're trying to hide.  I don't see a photographer credit on the blog archive page.

 

Thanks,

 

James.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi James

 

Thanks for the reply. If you look at the Brian, Kate and Teddy post in the description you will see "photography by white tea". I want to hide this in the description that appears on this page only. I need it to remain on the blog post. It is the first few words that appears in the body of text that I would like to be ignored with generating the summery on the blog post list. 

Thanks

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks James

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0