Support » Plugin: Meta Tag Manager » Adding meta tags for each post by one by, Easy way?

  • Hello, I have a system working on meta tags. in my website, meta tag tex1:method, shows how we create our textures. I was using same cod(efrom-bitmap) for all posts until today. It’s working good. But I want to add a different variation of meta tag(substance, scanned etc.) and I don’t want to add them by one by for each post. Is there anyway to apply one meta tag to all old post in once? I know I can use he custom meta tag field but I don’t want to. Custom meta tag field affect all post pages and I want to change some of this meta tags.

    I hope I can explain the situation.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • For example .
    https://www.sharetextures.com/textures/wall/brick-wall-11/
    I want to use <meta name="tex1:method" content="scanned" >
    For this page https://www.sharetextures.com/textures/wood/square-parquet-11/
    I want to use <meta name="tex1:method" content="from-bitmap" >

    Most of my post 500+ will use same meta name and content, but I want to change some of them different.
    There is 1 way for now to fix my problem, I have to add meta tag using “post page” and add all meta-tag&content to all posts(500+) and change some of them as I want.

    Can you suggest me another way? It’s too much work to do. Maybe a SQL code or something like that do it easily.

    Plugin Author Marcus

    (@netweblogic)

    Hi,

    This could be done… MTM data for each post is stored under the wp_postmeta table with the ‘mtm_data’ meta_key value.

    What you could do in theory is create one post with the template of data you want, go to the table and duplicate it for all the post IDs you want to have the same meta.

    insert into wp_postmeta (post_id, meta_key, meta_value) 
    select ID, 'my-key', 'my-value' from wp_posts where post_type = 'post';

    Nice 🙂 I found a:1:{i:0;a:4:{s:9:"reference";s:0:"";s:4:"type";s:4:"name";s:5:"value";s:12:"text1:method";s:7:"content";s:11:"from-bitmap";}}this meta value from template as you said and using the code at the beginning I fixed my problem. Thank you.

    Plugin Author Marcus

    (@netweblogic)

    Yup, that looks along the lines of what you want to do. Glad you sorted it out!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.