• Hi,
    I have to add a dynamic page( with search option) in to my wordpress site. is it possible to do like that. If can please advice me how to do it.
    thanks

Viewing 1 replies (of 1 total)
  • You could make your own shortcode, say [mypage]. To make this work, you will need to add some code to functions.php:

    <?php
      add_shortcode('mypage', 'mypagefunction');
      function mypagefunction() {
        $html = 'statements to do whatever';
        return $html;
      } // end function

    Best to do this with a child theme to avoid your work being overwritten by updates.

    Alternatively, you could make your own custom page template. Start with an existing one and modify it to suit.

Viewing 1 replies (of 1 total)
  • The topic ‘Dynamic page in WordPress site’ is closed to new replies.