Đã hoàn thành

Wordpress Link Added & customize widget- Easy Fix -Need Now

1st fix that I need immediatly:

I need a link added to my wordpress website in a .php file.

In the current file, I am showing "edit your business page" if the user is logged in and paid.

like this:

div class="company_info">

<?php global $post;

$custom_user = wp_get_current_user();

$cuid = $custom_user->ID;

$paid = $post->post_author;

if($cuid == $paid)



<p class="edit-link"><a href="<?php echo site_url();?>/?ptype=post_listing&pid=<?php echo $post->ID;?>" class="post-edit-link"><?php _e ('Edit Your Business Page','templatic');?></a></p>

<?php } ?>

On my website on the home page there is a link that says "add event" I want to hide this option and only show it in the code above if the user is logged in and paid.

2nd fix that I need soon:

I have a wordpress website that you can change the city on the home page. Most of the widgets in my website only show relevant information to that city when the page is updated (this is how they should all work). However I have an event calendar widget that does not show this relevant information. It shows all events in every city which does not work if a customer only wants to see their city.

so basically you can probably grab the code form another widget that works correctly and use that to fix the calendar.

Kĩ năng: PHP, WordPress

Xem nhiều hơn: it works global, how to edit a website in wordpress, global p, fix events website, easy fix website, div fix website, customize your wordpress, wordpress the events calendar, need now, edit widget, easy fix, templatic wordpress, wordpress logged, grab website file, div fix, customize wordpress page, fix customer form, wordpress show post page, wordpress soon, add widget wordpress, php change code easy, wordpress global post, php hide form, hide form php, form wordpress event

Về Bên Thuê:
( 7 nhận xét ) Crystal Lake, United States

ID dự án: #1626666

Được trao cho:


Consider it Done..... Right developer at your door...HIRE WITH CONFIDENCE...Hope to achieve next positive feedback from you !!! Please check you inbox. "Always willing to walk extra miles to achieve Excellence"

$39 USD trong 0 ngày
(52 Đánh Giá)