WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
meta tags (9 posts)

  1. ambar.guy
    Member
    Posted 4 months ago #

    how to add meta tags to <head>?

  2. ambar.guy
    Member
    Posted 4 months ago #

    to the theme customizr
    i got this in editor in header.php
    cant find the function in functions.php

    <?php
    //the '__before_body' hook is used by TC_header_main::$instance->tc_head_display()
    do_action( '__before_body' );
    ?>

  3. d4z_c0nf
    Member
    Posted 4 months ago #

  4. esmi
    Forum Moderator
    Posted 4 months ago #

    Do not edit the theme itself. Try using an SEO plugin instead.

  5. ambar.guy
    Member
    Posted 4 months ago #

    i cant find the <head> open and close tags
    y not edit the theme itself? it has to be there inside somewhere...

  6. d4z_c0nf
    Member
    Posted 4 months ago #

    The file you're looking for is
    customizr/parts/class-header-header_main.php

    But why if you can use that wp hook (last comment of the link I suggested) in your child theme functions.php? Or use an SEO plugin as esmi says (never tried)?

  7. rdellconsulting
    Member
    Posted 4 months ago #

    I'd vote with @esmi too!

  8. ElectricFeet
    Member
    Posted 4 months ago #

    I agree with Esmi. But if you don't want a full-blown SEO, or the SEO cannot add what you want, there's a snippet here for adding Google Analytics to wp_head with Customizr. Adding other items will follow the same principles.

  9. ambar.guy
    Member
    Posted 4 months ago #

    Thanks! these were all the answers I needed! I will use the SEO plugin then if theres more i need to add I will do that in the file.

    Thanks again

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.