Jump to content

Archived

This topic is now archived and is closed to further replies.

dawsonbarber

Need to Change Title Tag

Recommended Posts

dawsonbarber+    19
dawsonbarber

I need to "swap" the current title tag in a child theme for the following:

<title><?php wp_title(); ?></title>

I've searched WordPress forums and on Google but haven't found anything that works.

 

Any ideas?

 

Cheers

 

Dawson

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

You won't be able to do that in a child theme for DMS. May I ask why you want to use that, why not just use Yoast SEO or just add your own Site Title and tagline, which is used by default ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Hi Danny

 

Thanks for the information.

 

I'm using WordPress SEO but wanted to swap wp_title() for the_title() for dynamic keyword insertion into meta tags for PPC landing pages (using Speed PPC plugin with Speed PPC  built ads).

 

Anyway, thanks again for letting me know.

 

Cheers

 

Dawson

 

 

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

It's actually just supposed to allow for the replacement of meta tags (post/page title, description) on dedicated landing pages whose values are passed through the URL from PPC ads and insert keywords dynamically into title tags and meta description.

 

I think Yoast's WordPress SEO uses wp_title tag so I was thinking it wouldn't be a problem to do.

 

I've looked at the following page but can't work this out:

 

http://codex.wordpress.org/Function_Reference/wp_title

 

I thought maybe I could work something out with filters with the information on the page below but no luck (truncated link makes it look the same as the one above but it`s different):

 

 

I`ve got it happening for the page content, but the closest I've come to "success" with this was getting the page title value passed from the URL and inserted into the page. Not the result I was looking for (I wasn't getting the "meta" part right).

 

I've been advised that others have done it but, for whatever reason, no one seems to be willing to share (probably due to the competitiveness of the PPC world).

 

Anyway if you can shed more light on this, I'd appreciate it.

Share this post


Link to post
Share on other sites
Simon    247
Simon
DMS already uses wp_title() and allows for wp_title() filters like all good themes should. Thats why yoasts SEO works perfectly well already.

the_title() as danny already mentioned is for post titles in the loop, not page <title>

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Thanks for the info, Simon.

 

Here are the exact instructions from the plugin:

 

 

You need also to change the title tag in you wordpress theme as shown below.

<title><?php wp_title(); ?></title>

 

Based on that, is there anything that I need to do or should it just work?

 

Cheers

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

The title tag is already set to that in DMS, so you shouldn't need to do anything. However, I think the best thing for you to do is contact their support, as I loathe PPC. ;)


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Thanks Danny.

 

I get the feeling you're holding back on your feelings about PPC.

 

How do you really feel?

 

:)

 

Cheers,

 

Dawson

Share this post


Link to post
Share on other sites

  • Similar Content

    • Skip
      By Skip+
      Hello
      I'm having problems with the Font not appearing correctly on a website.
      I've adjusted the font correctly with DMS (see screen shot) and saved it repeatedly yet it does not adjust the font in the website (see screen shot).  Would you please let me know what is wrong and should be done?
      (Please note that I've cleared the cache in the browser and whatnot as far as basic things I do know about browsers and issues with DMS from the past.  Hope this helps in troubleshooting...)
      Thank you.
      Skip


    • Jeremiah
      By Jeremiah+
      How do I find the correct Plugin text string and alter it without affecting updates?
    • tristanrodgers
      By tristanrodgers
      Hey there!
      Here is my website: http://heybier.de
      I'd love to change the font of my salebar, can you tell me how to do that?
      Greetings from Germany,
      Tristan
    • marc.stubbe
      By marc.stubbe
      i created more than one page inspiration, with a result that the only current page inspiration is named: http://www.vmhdigital.nl/inspiration-3/
       
      I emptied the garbage bin, but cannot rename this permalink, do you know how to solve that?
    • dawsonbarber
      By dawsonbarber+
      I'd like use some of Enrique's themes on a client installation but would prefer to use the client company name as the child theme name.
       
      I tried the usual approach for renaming a PageLines child theme (like Danny's Skeleton) but that did not work.
       
      Could you please spell out for me what I need to do, exactly, to rename a PageLines Store child theme like Voyant?
       
      Thanks
×