• I recently built a wordpress website for someone. I simply made the page templates and uploaded them into the already default twentyeleven theme folder, and when new pages are being created one of these templates is selected…

    The thing is though, that yoast wordpress seo is installed on the site, however when any meta keywords or description or anything like that is entered when editing or creating a new page with one of these page templates, it doesnt actually get added to the html… the yoast meta tags etc never show in the outputted html…

    Does anyone know what could possibly be causing this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Something is mising in the custom templates
    If default twentyeleven templates have the meta tags, your custom templates are not hooking into WPSEO – try using the head code from the standard templates as a basis for the custom templates.

    Thread Starter Zany90

    (@zany90)

    One thing im wondering… Could the fact the page templates arent split down into header.php, pagename.php and footer.php like when creating a blog theme be the problem? I simply have /* Template Name: djdkdkd */ at the top of my documents

    Template name is not the problem…
    Does the template have the following

    <?php get_header(); ?> (Default Twentyeleven from single.php file)

    or for a custom header
    <?php get_header('header-name'); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help with WordPress SEO by Yoast’ is closed to new replies.