Panos_M on "[Plugin: WP Job Manager] Google Adsense code after fifth job posting"

ساخت وبلاگ

Hello,

i am trying to put adsense code after the fifth job posting in the [jobs] page but i don't know which template to override. I am also trying to find the code to get it work well. Any help?

Best Regards,
Panos

https://wordpress.org/plugins/wp-job-manager/

I haven't found any solution yet to add google adsense code between jobs. Has anyone some ideas about?

I don't think this is feasible. I'm attempting a Jobs Sidebar though, and waiting on support.

i think this could get it work. I am trying to write the right code in functions.php but i didn't make it done so far. Maybe will be another way, i don't know. I will welcome any ideas about.

Is there any suggestion how to put adsense code between job listings? ( ex after the 5th job posting )

Best Regards,
Panos

Hi Panos!

What you need will have to be custom coded. We can't help with custom code, unfortunately, but I can point you to the wp-content/plugins/WP-Job-Manager/includes/class-wp-job-manager-shortcodes.php file where the output_jobs function for listing jobs resides.

Let me know if you found a way to make it work. Cheers!

@davor.altman thank you for your reply but unfortunately i am not able to write the right function. I am trying to add a filter but i get alwayws no jobs output. The function overrides and remove the job listings.

function job_listing_advertisment() {
}
add_filter( 'job_manager_job_listings_output', 'job_listing_advertisment' );

Any help to finish the function?

Panos_M
Member
Posted 5 minutes ago #

Because I don't know where to start does anyone know a plugin that could add the adsence code between jobs?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 210 تاريخ : دوشنبه 14 تير 1395 ساعت: 21:01