• Resolved barrypoore

    (@barrypoore)


    I’m editing the content_job_listing.php in order to fit the design of the website, Currently by default the file does not display the excert (short description). I am new to wordpress so maybe a newby error, tried get_the_excert() function but returned nothing. I have looked on documentation to try and find a tag or function call but not been able to. I’m sure the info must be loaded into memory somewhere it’s just how to extract it.
    Can anyone advise on an appropriate function call?
    Or alternatively point me to where I might be able to find this info?
    Thanks

    ps site is currently only on local dev, didn’t think it was the type a question that needed a URL anyway

    • This topic was modified 7 years, 6 months ago by barrypoore.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter barrypoore

    (@barrypoore)

    Also I will be adding custom fields so as I do I guess there will be times I will need to pull them out too, so I guess I am looking for something like:

    get_the_fieldname() or something?

    Update!
    I did find this function wpjm_the_job_description();

    That returns the description so I’m getting there but I only want the a teaser of it, I guess I could wrap it in a substr but I’m sure there must be a WordPress way of doing it?

    • This reply was modified 7 years, 6 months ago by barrypoore.
    Thread Starter barrypoore

    (@barrypoore)

    wow, a week ago since I posted this and not one response, it was simple, ‘the_excert()’, I’m new to wordpress so didn’t know but since finding the solution I can’t believe this post was up for a week with no response, c’mon people!

    Plugin Contributor jonryan

    (@jonryan)

    Hi @barrypoore I’m glad you figured it out and sorry you didn’t get a quicker response.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tag for Excert’ is closed to new replies.