• Resolved rikiyaishizaki

    (@rikiyaishizaki)


    Hi Beau!

    I hope you would understand how much this plugin means to me and are helpful. Amazing works, Amazing author. Big thanks to you.

    Let me ask about Twitter importing.

    add_post_meta( $post_id, 'twitter_permalink', $twitter_permalink );

    I want to use this permalink inside content, not custom field. Unfortunately because of my complicated, I cannot add “the_meta()” to show custom filed into content.

    Could you please tell me how I can show Twitter_permalink inside contest? Which code should I modify in your
    keyring-social-importers/importers/keyring-importer-twitter.php file?

    Thanks again!

    Rikiya

    https://www.ads-software.com/plugins/keyring-social-importers/

Viewing 1 replies (of 1 total)
  • Plugin Author Beau Lebens

    (@beaulebens)

    Thanks so much! I’m glad the importers are handy for you.

    Ideally you shouldn’t modify anything in the plugin, since that means the next time there’s an update, your changes will be overwritten.

    Depending on how you’re trying to use the permalink, you could perhaps add it to your content using a filter? There’s a standard filter in WordPress called the_content which is used for outputting the main content of a post. So you could hook into that, and then just append a new paragraph tag, query for the meta value, and include that.

Viewing 1 replies (of 1 total)
  • The topic ‘Twitter_Permalink’ is closed to new replies.