WordPress.org

Forums

How to enable qtranslator plugin work for custom post metabox(s) (1 post)

  1. Hassan Kibria
    Member
    Posted 1 year ago #

    i am adding a custom meta box in my theme. by using this code.

    $title = get_post_meta($post->ID, 'title', true);
    echo $title;

    Then , from my wp-dashboard i added :

    <!--:en--> English Title <!--:--><!--:es--> Spanish Title <!--:-->

    but this shows me

    English Title Spanish Title

    i am using Qtranslator plugin. please anyone have insights? Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic