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.
<?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.
Đã 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"