wordpress plugin development question

Discussion in 'PHP' started by stephan2307, Jun 29, 2011.

  1. #1
    I am just working on a wp plugin.

    Part of the plugin is a custom rewrite rule which generates a url like this

    /phones/phone-brand/motorola/

    Now the page that is actually loaded is /phones/phone-brand/ and the motorola is submitted via querystring

    All pages have the same name but I want to change that and change Phone Brand to Motorola or any other brand that is loaded.

    Any idea how I can do this? I know there must be a hook somewhere but I don't know what is is.

    Any help???

    Thanks
     
    stephan2307, Jun 29, 2011 IP
  2. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #2
    ok managed to find it. its called the_title
     
    stephan2307, Jun 29, 2011 IP