Jump to content
Sign in to follow this  
studentkrubb

single.php, img beneath body

Recommended Posts

studentkrubb

Hi, trying to implement an img that facebook will include in every link to my site. How can I add an img directly beneath the body of every single post? My single.php only consists of

setup_pagelines_template();

Thanks!

Share this post


Link to post
Share on other sites
studentkrubb

Yes I am using PlatformPro. No it is a single code:

< img src="http://my.img.png" alt="Click Here" title="Click Here" />

Any ideas? Thanks!

Share this post


Link to post
Share on other sites
catrina

Rather than editing any parent files directly, you can use a hook instead. Are you familiar with how to implement one? A tutorial is available here: http://www.pagelines.com/docs/base-child-theme


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
studentkrubb

Excellent! Can't find a hook close enough to the body tag though?

Share this post


Link to post
Share on other sites
Simon

Do you want it at the end of the post? try either of these two: `pagelines_loop_after_post_content` `pagelines_loop_post_end`

Share this post


Link to post
Share on other sites
studentkrubb

Oh, beneath the opening

<body>

tag

Share this post


Link to post
Share on other sites
Simon

ok there is no action there currently, I will add one tomorrow, we are going to release a new version the next few days ;)

Share this post


Link to post
Share on other sites
studentkrubb

Terrific! I'll wait with excitement!

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  

×