WP Custom Fields Search
post by Author in hidden field (1 post)

  1. margothuij
    Posted 4 years ago #

    I want searching in posts from the current user only. Is this possible when I use the fields post_author and a constant dynamic value send in a hidden field?

    I tried this whith filling in a number and than it works, but I don't know the right php-code. Could it be something like 'echo user_id', or <?php the_user-ID(); ?> ?

    Please, can anybody help me out, I am searching for a long time already.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Custom Fields Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic