Find Jobs
Hire Freelancers

Write a php function for child-theme in Wordpress

R210-1750 ZAR

Closed
Posted over 6 years ago

R210-1750 ZAR

Paid on delivery
The task is to create a php function in the [login to view URL] field of the child-theme of a Wordpress theme. The function must randomly insert a banner/google-ad/item between the posts on the home page or category pages. Suggested hours this project should take: 1hour Please download the theme at github below: [login to view URL] The following solution has been suggested but did not work - insert into [login to view URL] file of child-theme: function insert_between_posts( $post ) { global $wp_query; // Check if we're in the right template if ( ! is_home() ) return; // Check if we're in the main loop if ( $wp_query->post != $post ) return; // Check if we're at the right position if ( 1 != $wp_query->current_post ) return; // Display the banner echo '<div>Some banner</div>'; } add_action( 'the_post', 'insert_between_posts' );
Project ID: 15726397

About the project

16 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
16 freelancers are bidding on average R915 ZAR for this job
User Avatar
I have read job requirement carefully, please share project detail we will done this job on time, Thanks Relevant Skills and Experience Skills : Wordpress/Magento/Linux/Css/HTML Proposed Milestones R1088 ZAR - Task cost
R1,088 ZAR in 3 days
4.9 (216 reviews)
6.8
6.8
User Avatar
A proposal has not yet been provided
R1,777 ZAR in 5 days
5.0 (10 reviews)
5.5
5.5
User Avatar
Look, your project is simple. I'm sure a lot of the bidders can do it. So why should you choose me? Simple: time and price. I can start working right away, and my price is way lower than the avg bid. Relevant Skills and Experience I've worked on countless WordPress projects. I've developed themes and plugins from the ground up, and also modified others to fit my clients' needs. I can do what you're asking with no issue. Proposed Milestones R800 ZAR - Function development Additional Services Offered R200 ZAR - Work on my own server and then install on your site
R800 ZAR in 2 days
5.0 (34 reviews)
5.4
5.4
User Avatar
I can do it Relevant Skills and Experience I have 11 years experience on wp Proposed Milestones R666.67 ZAR - ok
R666 ZAR in 3 days
5.0 (78 reviews)
5.6
5.6
User Avatar
A proposal has not yet been provided
R210 ZAR in 10 days
4.9 (79 reviews)
4.5
4.5
User Avatar
with 10 years experience in Wordpress, PHP, Woocommerce, SEO. I can help you finish projects which you probose. Please give me skype address. we can communicate each other easily. Relevant Skills and Experience with 10 years experience in Wordpress, PHP, Woocommerce, SEO. I can help you finish projects which you probose. Please give me skype address. we can communicate each other easily. Proposed Milestones R1666 ZAR - all of you want in there
R1,666 ZAR in 3 days
5.0 (7 reviews)
2.9
2.9
User Avatar
Dear Sir, I feel fit for your project. I have good skills of CSS, HTML, Javascript, PHP, WordPress I have 5 years experiences on those field in industry level. Relevant Skills and Experience CSS, HTML, Javascript, PHP, WordPress Proposed Milestones R1088 ZAR - 1088
R1,088 ZAR in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
R715 ZAR in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I don't necessarily need money from you, i'm just looking for reviews. Please consider my bid. I will complete the work right now. Thanks Relevant Skills and Experience PHP WORDPRESS PHYTON Proposed Milestones R444 ZAR - 444
R444 ZAR in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SOUTH AFRICA
Cape Town, South Africa
5.0
10
Payment method verified
Member since Jan 11, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.