WordPress.org

Ready to get started?Download WordPress

Forums

Best Key word Plugns (2 posts)

  1. salem80
    Member
    Posted 2 years ago #

    Hi
    from year ago I Install Some Keyword Plugns and I notice no difference at all .
    I see the source code and the keyword are still the i wroth in /theme/header.php file (where wordpress first load all pages )
    The problem for me I cant's use same keyword for every page on my blog (thats what's word press actually do )

    My question Can I Specify keyword for every page and post on my blog
    I test my blog on http://www.domaintools.com/seo-browser and was shocking how my key word not relative to some of my page ..

    any one have suggesting to make keyword dynamic in word press to every page along instead of default form
    ...

  2. salem80
    Member
    Posted 2 years ago #

    No one have any idea
    its; simple question how to make header.php (in template) interactive
    with post contented
    Should I have to put the loop in header file to see post contents and generate keyword for it
    or use Post custom Value .. and look for it in header.php
    here what I taking about
    <meta name="description" content="My Description Here " />
    <meta name="keywords" content="Kyeword1,keyowrd2.etc" />

    this is example of slide show script

    <?php $my_query = new WP_Query('category_name=featured');$o=0;$si=1;
    while ($my_query->have_posts() ) : $my_query->the_post(); ?>
    <li id="slide-<?php echo $o++; ?>" >
    <a href="<?php the_permalink() ?>" ><img src="<?php $values = get_post_custom_values('banner'); echo $values[0]; ?>" alt='<?php the_title(); ?> ' /></a>
    <br/>
    <h2> <a href="<?php the_permalink() ?>"> <?php the_title(); ?> </a></h2>
    </li>
    <?php $si++; endwhile;$si2=1; ?>

    .

Topic Closed

This topic has been closed to new replies.

About this Topic