Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)
  • It is now working.

    I am also not receiving emails. I reviewed all the settings in Contact Form 7 and on WP Mail STMP.

    Hosted on the Home and Contact pages: https://americanhomesol.com

    Thread Starter SMHobson

    (@smhobson)

    Had to buy WP Mail SMTP to make this plug in work. But, fixed now.

    The child theme basically just supersedes the parent theme with whatever you put in the functions.php or style.css. You should be able to install the child theme no problem and your custom coding will remain intact. I would recommend you transfer all your custom coding into the child theme, as updating customizr will delete all your current custom coding. Updating the parent theme does not affect your child theme. Best of luck!

    I think you need to change your global default layout. To do so:
    dashboard > appearance > customize > Content: home, etc > pages and posts layout

    There’s a drop down menu under “choose the global default layout”. Based on your site, I think you want to select “no sidebars: full width layout”. You can also choose a default type for posts and pages. Also, for specific pages/posts, you can always change the layout within the page editor when you select the specific page on the top right.

    Hope this helps.

    Thread Starter SMHobson

    (@smhobson)

    Yes, I’m referring to: https://poolbyhobson.com. When you hover over the main logo image I get: “Pool by Hobson | <span class=”tl-first-letter”>P</span>ool’s <span class=”tl-first-letter”>O</span>fficial <span class=”tl-first-letter”>O</span>bjective <span class=”tl-first-letter”>L</span>iterature!”

    I’m using the span class to color the first letter green on the tagline.

    I was wondering if there’s a way to overwrite the %description% when you hover the Main Logo. I would like it to say, “Pool by Hobson – Pool’s Official Objective Literature!” (IE, strip the html)

    Is this possible?

    Thread Starter SMHobson

    (@smhobson)

    I tried my full php file again and it’s working. We shall see if it stays that way.

    Thread Starter SMHobson

    (@smhobson)

    It randomly works again, but I’ll take it.

    Thread Starter SMHobson

    (@smhobson)

    Here’s what I tried:

    add_filter( 'tc_tagline_display' , 'my_link_in_tagline');
    
    function my_link_in_tagline() {
     global $wp_current_filter;
     ?>
     <?php if ( !in_array( '__navbar' , $wp_current_filter ) )  :?>
     <div class="container outside">
             <h2 class="site-description">
              <?php echo html_entity_decode(get_bloginfo('description')); ?>
             </h2>
    
         </div>
     <?php else : //when hooked on __navbar ?>
     <h2 class="span7 inside site-description">
                 <?php echo html_entity_decode(get_bloginfo('description')); ?>
             </h2>
    
     <?php endif; ?>
     <?php
    }

    It did work. But, breaks the child theme. Could there be some conflict with the childify me plugin because I don’t understand how everything displays perfectly and affects my ability to log in?

    Full functions.php file:

    <?php
    add_filter('tc_credit_link', 'my_credits');
    function my_credits(){
        $my_credits= '<br /> &middot; <a href="https://poolbyhobson.com/contact">Contact</a>&nbsp;·&nbsp;<a 
    
    href="https://poolbyhobson.com/affiliate-disclosure">Affiliate Disclosure</a>&nbsp;·&nbsp;<a href="https://poolbyhobson.com/privacy-
    
    policy">Privacy Policy</a>'; /*or leave it blank with '' */
        $my_credits_link = ''; /* or leave it blank with '' */
    
        $my_credits = ( $my_credits_link && $my_credits ) ? '<a href="'.$my_credits_link.'">'.$my_credits.'</a> ' : $my_credits;
        $my_credits = ( $my_credits ) ? '· ' . $my_credits . ' ·' : ' &middot;';
    
        return $my_credits;
    }
    add_filter( 'tc_tagline_display' , 'my_link_in_tagline');
    
    function my_link_in_tagline() {
     global $wp_current_filter;
     ?>
     <?php if ( !in_array( '__navbar' , $wp_current_filter ) )  :?>
     <div class="container outside">
             <h2 class="site-description">
              <?php echo html_entity_decode(get_bloginfo('description')); ?>
             </h2>
    
         </div>
     <?php else : //when hooked on __navbar ?>
     <h2 class="span7 inside site-description">
                 <?php echo html_entity_decode(get_bloginfo('description')); ?>
             </h2>
    
     <?php endif; ?>
     <?php
    }

    Thread Starter SMHobson

    (@smhobson)

    Furthermore, I tried using that snippet and removing the a href parts to get things to work and it did. However, that’s the piece of code that I added into the .php file that now rendered my child theme inert, unless I revert to the parent theme.

    Thread Starter SMHobson

    (@smhobson)

    I’ve been playing with that one too. If you look at my post where you helped me with the footer, I just updated my status. I’ll reiterate here as the two are connected.

    In trying to implement the above in the .php file. My site broke. So I reverted back to my old .php which contained just the code to edit the footer. However, now just that code doesn’t want to work either when it has been working fine since then (about two weeks). I’m at a loss for words for why this is happening. Thankfully, I have enough common sense to have been able to revert back to just the parent theme.

    I made that code based on the code you provided to help me with my footer credits. Thinking that it was the same concept–overwrite the current. It’s oh so obvious that I’m new to all this and I’ve spent weeks googling trying to figure things out on my own to save all of you the time of helping me with basics.

    My goal is to add the span tags to the tagline so I can change the color of the first letter as WPyogi was helping me above.

    d4z_c0nf can we chat via FB or something to expedite the process?

    Thanx for all the help!

    Inside your WP dashboard:
    appearance > customize > global settings > social links

    There’s a checkbox for:
    Social links in header
    Social links in footer
    Social links in left sidebar
    Social links in right sidebar

    Check the box for header.

    Let me know if that works.

    Thread Starter SMHobson

    (@smhobson)

    Ok, I was trying to add another function to my .php file and it was breaking my site (“site moved”, can’t log in) so I reverted back to the above which has been working perfectly fine. However, now I’m back to the same original problem. I don’t get WP.

    Thread Starter SMHobson

    (@smhobson)

    This is the code I built to try to implement the span tags:

    add_filter('tc_tagline_class', 'html_tagline');
    function html_tagline() {
         $html_tagline= '<span class="tl-first-letter">P</span>ool's <span class="tl-first-letter">O</span>fficial <span class="tl-first-letter">O</span>bjective <span class="tl-first-letter">L</span>iterature!';
    
         $html_tagline = ( $html_tagline ) ? : $html_tagline;
    
         return $html_tagline;
    }

    What am I doing wrong?

    Thread Starter SMHobson

    (@smhobson)

    I’m having difficulty placing the html into my child them. Everytime I put it in the .php file, I have to revert back to the old copy as it breaks my site. Have a code snippet I can use for this?

Viewing 15 replies - 1 through 15 (of 27 total)