• elirae

    (@elirae)


    Hi There,
    I am looking to implement a send to a friend button the job page template.

    Currently I am just using a mailto function with the details in the subject line which are entered using the shortcodes on Individual Job Template field.

    I would like to include the job url in the subject line or the body but apparently you cannot included a link inside this so I need a shortcode that will output just the url of the job with no tags wrapping it?

    Do you have a way I could achieve this?

    Thanks for all your hard work, the plugin is awesome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Gary Pendergast

    (@pento)

    This is an interesting idea. Unfortunately, the upcoming 0.7 release is string frozen, so it can’t make it into there.

    What I can do is add the ability to set a template to be used by all jobs – if you create a template called job.php, it will load that for any jobs.

    I’ll add this to the 0.7 stable release, due out (hopefully) today or tomorrow.

    Thread Starter elirae

    (@elirae)

    Hi Pento,
    Thanks for your quick response appreciate it, I’m not sure what the job.php template would do to help what I am trying to do exactly.

    Basically all I need it a way to output the job link in the Individual Job Template field. E.g http://example.com/vacancies/graphic-design-finished-artist/

    Instead of using [job_link]…[/job_link] that wraps the text with a link I just need it to output the straight link :
    http://example.com/vacancies/graphic-design-finished-artist/

    Any ideas?

    Thanks again Pento!

    Moderator Gary Pendergast

    (@pento)

    The idea of using job.php is that you can then add the button you’re after, and it will appear on each job page. the_permalink() is the function that will return the link to the current page, when used in a template.

    Unfortunately, there isn’t a way of doing this in the Display Settings at the moment, I’ll look at adding it in version 0.8.

    Thread Starter elirae

    (@elirae)

    Great thanks for the extra hint, I understand now. Thank-you

    Thread Starter elirae

    (@elirae)

    Hi Pento,
    I have added the job.php template but it seems it will only use job.php if there is no category template being used. So in order for the job page to be using the job.php template the category it’s in cannot use it’s category template anymore?

    Is this correct? Is there a way for the category template to still be used by the category page as well as the job page to be using job.php?

    Moderator Gary Pendergast

    (@pento)

    This is correct behaviour, but I see the problem you’re facing.

    I’ll include a new template in 0.7.1, category-foo-job.php, where foo is the name of the category. This will override category-foo.php.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Job Manager] Shortcode Link URL’ is closed to new replies.