Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wajahatraja

    (@wajahatraja)

    That was brilliant. Thanks for pointing me in the right direction.
    I didn’t know that there was such a thing as custom fields in WordPress. I just had to pull it down from the screen options menu in the dashboard and then add the price there.

    Then I just added the class “post-meta” to the div and used this code in the template:

    <?php the_meta(); ?>

    Thanks a lot again.

    Thread Starter wajahatraja

    (@wajahatraja)

    Oh, sorry for a poor explanation. The div is at the end of the post and does not show up on the excerpt on homepage. My question really was that how can i fetch the div from the post and display it on the homepage. (Then I will float it beside the title.)

    I think this is possible via jquery or PHP.

Viewing 2 replies - 1 through 2 (of 2 total)