Forum Replies Created
-
AuthorPosts
-
josuchMember
That didn't work either. Here is the error I got:
Warning: Cannot modify header information - headers already sent by (output started at /home/josuch/public_html/wp-content/themes/graceful/functions.php:1) in /home/josuch/public_html/wp-includes/pluggable.php on line 1121
So what do you think?
Is there a solution or do I have to call my code guy?
josuchMemberHi Brad,
I have the simple hooks plug-in installed but there is nothing in it.
Should I uninstall it?I'm about to try the other code you referred to and said you just tested. First, I'm backing up and downloading my site.....:)
I retired the original coded that I posted about and it took
my site down with a syntax error. Luckily, I was able to log into c-panel
and delete that code out of the functions folder in my child theme folder.
I told you I know just enough to be dangerous....:)josuchMemberYes!! That is exactly what I need. Your first option seems to be the best for me. However, I added this code to my child theme function.php file and it did not show up on the post page.
function after_title_text() {
if(is_single() ) {
echo '<h4 class="single-title">This post may contain affiliate links. Thank you for supporting Are We Crazy, Or What? with your purchases.</h4>';
}}
add_action('genesis_entry_header', 'after_title_text', 11 );Any ideas?
-
AuthorPosts