Hello!
On the blog at http://people-plan.com/blog/, I want to add a “signature” at the end of each blog. Instead of typing it in to each post, is there a tag I can put somewhere?
Thank you!
Hey southall!
You could try adding it after line 201 in the /enfold/includes/loop-index.php file. Surround it with this if you do not want it to display on the single post view.
if ( !is_single() ) {
}
Regards,
Elliott
That is working :( the page goes black.
I do want to put the signature on each blog post. Any other suggestions?
Hey!
What is the code your using?
Regards,
Elliott
on line 202, i added
if ( !is_single() ) { my content here}
then half the screen went black when i refreshed website.
Hey!
Yes but what is the actual code your using?
Best regards,
Elliott
I used the code that I pasted in the last message.
if ( !is_single() ) { my content here}
is that not correct? Lol, sorry for the confusion!
Hi,
Try the following instead:
if ( !is_single() ) { ?>
<p>
Your signature
</p>
<?php }
Thanks,
Rikard
thanks!
Could you show me where I can put this code so the signature comes up on the individual blog and not on the excerpt page?
Thank you!!
Hey!
Replace the code with this:
if ( is_single() ) { ?>
<p>
Your signature
</p>
<?php }
We replaced !is_single with is_single. https://codex.wordpress.org/Function_Reference/is_single
Cheers!
Ismael
perfect, thanks!