Kapalı

Write a php function for child-theme in Wordpress

The task is to create a php function in the [url removed, login to view] 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:

[url removed, login to view]

The following solution has been suggested but did not work - insert into [url removed, login to view] 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' );

Beceriler: CSS, HTML, Javascript, PHP, WordPress

Daha fazlasını gör: https://github.com/googlesamples/android-UniversalMusicPlayer, https://github.com/officedev/ews-managed-api, https www freelancer com mobile app deep link php url https www freelancer com projects articles write some articles 10896803 ut, https europafreelancer com index php, http 178.89 110.222 game game_v451 php api_url https api vk com api php&amp api_id 3579245&amp api_settings 258&amp viewer_id 20, developers facebook com home php refsrc https 3a 2f 2fm facebook com 2f&soft bookmarks, m facebook com login php next https 3a 2f 2fm facebook com 2freg 2fcreate 2f&refsrc https 3a 2f 2fm facebook com 2freg 2fcreate, https outsource com index php, https m facebook com l php u https s3 eu west 1 amazonaws com guzelsin 404 html vvzffy7gfzxk23suruxnvcmabfs1zpllbld, https b4thewedding com index php project allproject, content www facebook com plugins likebox php href https 3a 2f 2fwww facebook com 2fplaygaana&width 300&height 590&colorscheme li, content www facebook com plugins likebox php href https 3a 2f 2fwww facebook com 2fmybigguide&width&height 290&colorscheme light, content www facebook com plugins like php href https 3a 2f 2ffacebook com 2faajtak 2f&width&layout button&action like&showfaces, https freelancer com index php, https github com designativedave androrat, twenty fourteen child theme wordpress, create child theme wordpress site, create child theme wordpress, child theme wordpress, wordpress convert child theme, convert wordpress theme child theme, wordpress thematic child theme, child theme existing wordpress site, wordpress child theme design pdf, wordpress suffusion child theme

İşveren Hakkında:
( 8 değerlendirme ) Cape Town, South Africa

Proje NO: #15726397

Bu iş için 17 freelancer ortalamada R933 teklif veriyor

bhaskarmandal

Hi, I am 5 years experienced web developer expert in Wordpress. Relevant Skills and Experience Please check my some wordpress Project : =========================== 1 ) [url removed, login to view] 2 ) [url removed, login to view] Daha Fazla

in %bids___i_period_sub_35% gün içinde1088%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(91 Değerlendirme)
6.1
in %bids___i_period_sub_35% gün içinde777%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(66 Değerlendirme)
5.5
ambientinfotech

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 c Daha Fazla

in %bids___i_period_sub_35% gün içinde1088%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(70 Değerlendirme)
5.3
NeegrumDev

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 a Daha Fazla

in %bids___i_period_sub_35% gün içinde800%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(28 Değerlendirme)
5.2
skchybd

I can do it Relevant Skills and Experience I have 11 years experience on wp Proposed Milestones R666.67 ZAR - ok

in %bids___i_period_sub_35% gün içinde666%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(35 Değerlendirme)
4.8
mangaram1975

Dear Hiring manager,I have been in the web industry for the last 5 years Relevant Skills and Experience Wordpress : [url removed, login to view] [url removed, login to view] [url removed, login to view] http://take-a Daha Fazla

in %bids___i_period_sub_35% gün içinde1088%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(25 Değerlendirme)
4.5
in %bids___i_period_sub_35% gün içinde260%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(42 Değerlendirme)
4.5
in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(59 Değerlendirme)
4.6
techviawebs

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde1777%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)
3.5
informationcmn

I am Professional web Developer and Mobile App Developer. I am more Confident in my work. I am expert in Wordprss, Bootstrap & Responsive, HTML 5,CSS, PHP and Java script Languages. Relevant Skills and Experience See Daha Fazla

in %bids___i_period_sub_35% gün içinde1333%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)
2.9
hungvotan

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 1 Daha Fazla

in %bids___i_period_sub_35% gün içinde1666%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(7 Değerlendirme)
2.9
mayankinnovative

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde210%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(25 Değerlendirme)
2.7
in %bids___i_period_sub_35% gün içinde1222%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)
1.9
Mannan1024

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 Daha Fazla

in %bids___i_period_sub_35% gün içinde1088%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
in %bids___i_period_sub_35% gün içinde1088%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
harendrachohan

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde715%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
jamesbasumataryx

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 Z Daha Fazla

in %bids___i_period_sub_35% gün içinde444%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0