Jump to content


This topic is now archived and is closed to further replies.


Image Meta Stripped from Highlights Section

Recommended Posts


Hi there,


Doing some on-site seo improvements to my site and having issues with the image alt and title tags being stripped from the highlight sections.


An example of the highlight section in use:




The site uses of child theme on pagelines 2.4.4 (wordpress 3.7.1). We have the SEO Ultimate plugin installed, as well as the 'Restore Image Title' plugin to reverse meta being stripped from post images. Neither appear to make a difference on the highlight section.


Is there a string of code I could put into the highlight template file to fix this, or another suggestion?


Let me know if more info is needed. Thanks!



Share this post

Link to post
Share on other sites

All PageLines core sections store the image as a URL, when you upload the image, the URL is saved as an option, just the URL. The image meta you add in wordpress admin is not used.


If you want to use images with meta etc, you will have to add them to your post area like a normal post.


For sections to pull attachment extra info it would take 2 db queries per image, thats why we dont do it.

Share this post

Link to post
Share on other sites

Ok, thanks. Good to know.


I went ahead and hard coded an img alt and title to the highlight template file. If a dynamic solution is found for this, please let me know. I would definitely like the meta to be a bit more tailored for such a predominant image on the page.


Thank you!



Share this post

Link to post
Share on other sites

  • Similar Content

    • mtaus
      By mtaus+
      I'm trying to add a Careers page to a site to display job openings. The plan is to create a Post using a subcategory 'Careers' and then display those on the page. All of the post sections in PL seem to include images and there's no obvious way to remove them or include an excerpt from the post. 
      Any suggestions?
    • chamois_blanc
      By chamois_blanc+
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • BentleyD
      By BentleyD+
      Hey there,
      I am working on BentleyRolling.com. I used grams on MoonbodySoul.com and all the images are cropped to a square, whether they are square or 4:5 when posted on instagram, they still get cropped to a square. This looks way better than some being squares and some being 4:5. Did something change since I designed MoonBodySoul.com with Platform5? Can you help me crop all images to a square on BentleyRolling.com 
      All the best,
    • cstudio
      By cstudio
      How do I control the lightbox effect on the plugin "popthumbs"?  On mobile, it opens up much to small then when expanded it opens to large.  I would like to control the the lightbox to like 90% of the viewer window but I can't figure out how/where to control that.
      Site example

    • Queue-it
      By Queue-it+
      I am using pl-section-journey and hiding most of the images. When running the page via google speed insights, it tells to optimize all the images that are in this plugins default. (e.g. https://queue-it.com/wp-content/plugins/pl-section-journey/images/drawer-5.jpg ) Like this one that is not visible on the website, but is a part of the plugin and comes up in google insights.
      I've deleted all the images in the plugin, but they still seem to come up. Ref. this page: queue-it.com/features