Jump to content

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in wp-content/themes/colinaboavista/functions.php on line 22

Recommended Posts


Alguém me ajuda?


Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/colinabo/public_html/wp-content/themes/colinaboavista/functions.php on line 22

    add_post_type_support($post_type, $feature );
    register_nav_menu('Menu Principal','Menu Principal');


    // Tornar o template disponível para tradução
    // A tradução pode ser feita em /languages/
    load_theme_textdomain( 'your-theme', TEMPLATEPATH . '/languages' );
    $locale = get_locale();
    $locale_file = TEMPLATEPATH . "/languages/$locale.php";
    if ( is_readable($locale_file) )

    // Puxar o número de página
    function get_page_number() {
              if ( get_query_var('paged') ) {
                  print ' | ' . __( 'Page ' , 'seu-template') . get_query_var('paged');
     } // end get_page_number


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

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.