• Hi,

    Have just started with wordpress. Installation without a hitch. Fixed Permalinks to be search engine friendly.

    Need help in understanding how to include meta tags in my posts. Have already installed and activated Xfish Meta Tag Plugin. Am able to define keywords and description but they don’t show up in individual post pages.

    I understand that the procedure that will pick up the corresponding values from the database and render the page needs to be called for this. Can anyone tell me where do I need to make the changes.

    Thanks for any help you can extend.

    Rishu

Viewing 12 replies - 1 through 12 (of 12 total)
  • I’m assuming xfish has a template tag you must call in your page template? This would go into the <head> portion of your page.

    Thread Starter creativatorz

    (@creativatorz)

    Hi,

    I am unable to locate the template tag and am not able to understand how to call the procedure. Could you kindly elaborate a wee bit more?

    I’d be very grateful for your help. Thanks.

    Well, I looked over the code for xfish_meta, and see it only needs to be activated in WordPress to work. Then you just add ‘keywords’ and ‘description’ as custom fields.

    However, I can’t get it to work as advertised on my test site. Unless someone here has some input, I’d suggest contacting the dev:

    https://www.uberdose.com/journal/archives/2004/10/02/keywords-and-description-meta-tags-for-wordpress-xfish_meta/

    Thread Starter creativatorz

    (@creativatorz)

    Thanks for your time.
    I’d get in touch with the developer ??
    Meanwhile, if you have any other recommendation to get meta tags, especially keywords and description inserted in individual posts, please let me know. Thanks again.

    I have a plugin which does pretty much the same thing, you may want to check it out: moisie_templates_metatags.php It seems to work alright.

    The keywords will still show up in your actual posts, I use another plugin to hide them but it’s not ready for any sort of release.


    <meta name="description" content="<?php echo htmlentities(get_the_excerpt()); ?>" />

    Will take the pre-generated excerpt for you posts, convert the appropriate characters to html, and spit out your excerpt as a description meta tag!

    Hi creativatorz, I’m the developer of xfish. Seems your email didn’t come through.

    The thing with xfish is that you don’t have to do anything but to define the custom fields ‘keywords’ and ‘description’ in your post, xfish will do the rest if you enabled it.

    installed xfish and it worked fine.

    There’s only one problem for me. For my frontpage, I have added my own meta tag description just for the frontpage in the index.php. Now I want to have seperate meta tag descriptions for each individual post pages.

    What xfish does is take all the meta tag descriptions from all the individual post pages and combines them to create a meta tag description for the frontpage. In my case, on the frontpage, I have two seperate meta tag descriptions, the one I made and the one xfish makes which is a problem.

    It would be a great feature for xfish if there is an option to disable the xfish generated meta tag description just for the frontpage. The reason is, I want to have a general description for my whole site when found on the search engine, and then each individual post will have it’s own description when people find those pages on the search engines.

    Here is another plugin I just came across. Has anyone used it? The clarity of his explanation makes me feel somewhat confident about it.

    https://www.urbangiraffe.com/plugins/headspace/

    Thanks all, I am looking for a keyword and and description meta generator that will populate meta content on the fly.
    (The reason for this is that I have hundreds of posts and I dont feel like editing each one just to add the meta data)

    I have the idea of the functionality.

    Basically the description tag would take the title & add a few keywords from each post to the end, or maby string a few of the post’s titles together.

    The kewords tag would contain the real “logic” by weeding out a list of specified keywords (configurable in the backend), populating the keywords tag with say 25 keywords or + – 120 carachters.

    An example of keywords that could be weeded out would be “and” “but” “the” “when” “from” etc

    I have just landed in the world of wordpress after being involved with other OS CMS projects. I will keep a page live on https://www.haikona.com where I will take a crack at building the plugin myself. (but if anyone knows of one which may exist please let me know.

    @greatbananas:

    What if you used a variation of imedia’s suggestion:

    <meta name="description" content="<?php if ( is_home() ) { ?>(put your home description here)<?php } else { ?><?php echo htmlentities(get_the_excerpt()); ?>" />

    Wouldn’t that work like you wanted it to?

    ~Jonathan

    Rich Boakes’ Autometa plugin automatically generates keywords for a post; it has a dictionary of words to ignore, though not user-configurable. Only problem with autometa is that it will likely require you to make a minor edit to functions.php, or await the release of WP 2.01.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to include Custom Field – Meta tags in posts’ is closed to new replies.