• Hector R.

    (@hector-r)


    Hi, I like the concept behind the plugin; but, the issue I found is that twitter cards are showing on every page. I looked for a way to customize the page display; but, the plugin does not have this functionality. For themes that consist of only one page the plugin would not be suitable. I would give five stars If the plugin allows me to customize which pages are going to display twitter cards. A nice way to handle it would be to divide it into homepage, pages, and blog selection.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Niall Kennedy

    (@niallkennedy)

    Why are you concerned about Twitter cards appearing on every page?

    You can unhook the Twitter Cards markup generator from the wp_head action or return an empty array for pages you would prefer not receive Twitter markup.
    https://dev.twitter.com/web/wordpress/cards

    Thread Starter Hector R.

    (@hector-r)

    Hi Kennedy,

    I am concerned about Twitter Cards appearing on every page because the aesthetic of the website. The theme I am using is built on sections; which means a page is formed by a set of sub-pages. The solution given would work when just a few pages need to be modified; but, when you need to modify every page would just not be handy. However, any help to find a solution would be appreciated.

    Plugin Author Niall Kennedy

    (@niallkennedy)

    Twitter Cards automatically generates a title and description for your pages based on the titles, descriptions, and images configured in WordPress. You don’t need to modify every page.

    You have an opportunity to modify each post to customize a separate Twitter Card title; otherwise the Twitter Card title is the title of your post.

    Thread Starter Hector R.

    (@hector-r)

    My concern is not about twitter description and title; but the twitter button. There are certain pages in which I would prefer not to display twitter button. How can I do that?

    Thank you.

    Plugin Author Niall Kennedy

    (@niallkennedy)

    Add a Tweet button to the pages of interest by placing a [twitter_share] shortcode in your post content area or evaluate the shortcode in your theme using the do_shortcode WordPress function.
    https://dev.twitter.com/web/wordpress/tweet-button

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No enough functionalities’ is closed to new replies.