• Resolved Wendihihihi

    (@wendihihihi)


    Hi Hector,

    I’m creating an output using this
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=all&order_by=views&limit=10&cat=23&has_tag('super')&header='Top 10 Recipes with Tag Super'"); ?>
    It works well, but now I need to filter check if this post also has the meta_key “vegetarian”.

    Is there a way to add a condition to check if that meta_key is present. I’ve been looking online, but I am stuck with the “outside the loop” thing…

    Thanks

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

    (@hcabrera)

    Hi there!

    At the moment the plugin can’t list posts by post meta nor by post tag (so the “has_tag” you added in there isn’t really doing anything :P)

    Thread Starter Wendihihihi

    (@wendihihihi)

    Such a shame! And you’re right, the has_tag isn’t doing anything. The posts I expected to be there were there because of the category…

    So….. when are you going to add this wonderful function ??

    Plugin Author Hector Cabrera

    (@hcabrera)

    Soon, hopefully ??

    Thread Starter Wendihihihi

    (@wendihihihi)

    Wow, that looks very very good. That will add a ton of new filters!

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Check if meta_key is present’ is closed to new replies.