Hooks or functions I can call to get specific post info?

Easy Property Listings WordPress Real Estate Plugin Forums Developer’s Forum Hooks or functions I can call to get specific post info?

Viewing 3 posts - 1 through 3 (of 3 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #15249
    TehCrucible
    Spectator

    G’day Merv, great plugin, thanks a bunch. I’ve just purchased and setup the staff directory plugin and am trying to integrate the directory archive and single templates into my theme.

    Forgive me if this is a silly question, but are there any PHP functions or action hooks that I can call to echo out just the information I want from the current staff member while in the loop?

    For example <?php echo the_staff_bio(); ?> or something along those lines…

    I noticed that the single-directory template is constructed with a single action: do_action('epl_sd_single_content');. Is there someway I can edit this output (more than just styling)?

    I guess the bigger question I’m asking is: If I intend to make significant changes to the layouts, is it wiser to do it all through overriding your existing styles or generating my own output loops and templates? I feel like the latter is a better move for safeguarding against changes from updates in the future but I’m not sure how viable it is?

    I’d really appreciate your insight, if you have the time.

    Cheers,
    Jamie

    • This topic was modified 8 years, 8 months ago by TehCrucible.
    #15253
    TehCrucible
    Spectator

    Follow up, just found the template files for the staff directory. That answers my first questions. However I’d love to hear your thoughts on the second question:

    Do you think I’m better off editing the the templates to use my own classes or styling your existing output?

    #15480
    Merv Barrett
    Keymaster

    Hi Jamie,

    You can place the templates inside your themes /easypropertylistings/ folder and make your customisations. Here is the Staff Directory template guide.

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Developer’s Forum’ is closed to new topics and replies.