WordPress.org

Ready to get started?Download WordPress

Forums

Add Meta Tags
[resolved] Possible to pass Description Text? (6 posts)

  1. atarampi
    Member
    Posted 1 year ago #

    I've been trying to figure out if its possible to access and pass the Description text written in via the plugin from header.php so I can display that, or if text doesnt exist, use a function we already have in place to write in a description.

    http://wordpress.org/extend/plugins/add-meta-tags/

  2. atarampi
    Member
    Posted 1 year ago #

    Just to clarify, we had a function in place to extract a description from the content, and use it for a meta desc tag, as well as use it for a meta Twitter card.

    What we want to do is pass the description written in with the plugin to this twitter card meta as well if there is one.

  3. atarampi
    Member
    Posted 1 year ago #

    Answer:

    get_post_meta(get_the_ID(), '')

  4. George Notaras
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, that would be:

    Return the description that is generated by the plugin after going through its logic:

    amt_get_content_description();

    Print the same thing:

    amt_content_description();

    Hope this helps.

  5. atarampi
    Member
    Posted 1 year ago #

    Thank you. Although I checked for this function in the VIP version of the plugin 'add-meta-tags-mod'

    Will this be added to that version as well? not sure how that process works.

  6. George Notaras
    Member
    Plugin Author

    Posted 1 year ago #

    Hi. This plugin (add-meta-tags-mod) is a fork of my plugin. Noone has ever contacted me about it, so it is impossible to provide any support for it.

    BTW, who is the developer? Is the source code of this fork available? Could you please share some more info about it or perhaps send the sources over at the following email address:

    gnot -at- g-loaded.eu

    From what I've seen here, the fork is released under the same license, so the sources can be shared without any extra permission. The php files on that web site are not accessible because of the web server configuration.

    Thanks in advance.

    PS: I think I'll also contact Automattic for more info.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.