Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chris

    (@zenation)

    Hi, that’s not supported at the moment but I see what I can do.

    Thread Starter pradips

    (@pradips)

    Thanks for your quick response !

    I try to add wp_cat to the search value but didnt work out !

    on API.php line 551

    `// Relation: Post title.
    if( $relation === ‘posttitle’ ) {

    global $post;

    $search = ( isset( $post->post_title ) ) ? $post->post_title : ”;

    }`

    How can i get the search result as ‘title’ – ‘category’ format

    Plugin Author Chris

    (@zenation)

    Hi,
    I’ve modified the API a bit but don’t have time right now for the documentation and preparing an actual update.

    If you want to you can take the new API version https://pastebin.com/kkZSkaFf and replace it/the file. Or you wait for the next plugin update – which will be released next week.

    This allows you to use the “filter” option (also the shortcode parameter) and enter

    +postTags
    +postCategories
    +postTitle

    This will then be added to whatever your current relation is set to.

    Shortcode example: [relatedYouTubeVideos relation=”postTitle” filter=”+postCategories” max=”1″]

    Plugin Author Chris

    (@zenation)

    Hi again,
    it’s now shipped with v1.6.4

    (Screenshot) Widget example: https://oi57.tinypic.com/6ifocp.jpg

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Related Videos by title category’ is closed to new replies.