Welcome to WebmasterWorld Guest from 54.196.175.173

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Twitter card

Article summary

     

henry0

6:25 pm on Jan 19, 2014 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Allowing for a summary of a posted article and link to your site from your Tweeter page requires the "Tweeter Card" calling for an additional 6 lines of meta name in the article header.
How could that be done in WP?
Any plugin to facilitate the task?

Hoople

9:11 pm on Jan 19, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Good summary post [dev.twitter.com...]

henry0

9:55 pm on Jan 19, 2014 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Interesting, thanks!

henry0

2:51 pm on Jan 20, 2014 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



It is a good beginning but does not answer my question
How do you inject in the WP article's header the new meta tags?

lorax

7:33 pm on Jan 21, 2014 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



You should be able to just edit your theme's header file and add what you need there. The prefered method for editing would be to use a Child Theme.

henry0

8:13 pm on Jan 21, 2014 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



That I have already done to adapt it to my needs,
but what I need is to edit each page header, which is not possible as, indeed, there is only one header!

So how and where is that card set to serve a per page excerpt?

lorax

3:24 pm on Jan 22, 2014 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



You can do this but it will require some PHP programming.

The general process is this: You'll need to create a function in your theme's function.php file and then test for the current page being displayed using is_page(). Then you can place code into the header for each page.

henry0

3:50 pm on Jan 22, 2014 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



OK thanks, that I can do, let's crank on my UltraEdit.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month