WordPress.org

Support

Support » How-To and Troubleshooting » Why isn’t my <a title=””> attribute appearing in wp_list_pages

Why isn’t my <a title=””> attribute appearing in wp_list_pages

  • nintensity
    Member

    @nintensity

    My website is http://www.nintensity.net (currently developing. lots of css stuff i have to do)

    I’m using wp_list_pages code to call my pages from my database and display them in a

    <ul > list.

    Unfortunately if you check the source code, it only shows the <a href=""></a> attribute and nothing more. I want to have the title attribute put in to for better SEO, but its not appearing! can anyone help me?

    thanks!

    -n

Viewing 3 replies - 1 through 3 (of 3 total)
  • <a title= is not valid html. What you require is php code. The list of template tags is on the Codex.

    nintensity
    Member

    @nintensity

    no. check my website, and check my source code and take a look at my navigation.
    you can see that each < a > tag is missing a title attribute to the < a > tag.

    this is bad SEO. i want to include the title attribute to the < a > tag.

    nintensity
    Member

    @nintensity

    anyone? i can’t seem to get it working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why isn’t my <a title=””> attribute appearing in wp_list_pages’ is closed to new replies.