Website Developer has gone missing! How to gain full access of your code from a WordPress website?

Assuming you have admin access, the first thing to do is to downgrade his admin user to ‘contributor’ (lowest level). If you have been sharing the admin access, create a new admin account just for you, then log in as that account, and then downgrade that admin account. And don’t create an account called ‘admin’ … Read more

Where do I go to add a tag before the closing body tag?

Seems like you need to put this in your header within your <head> tags before your opening <body> tag. Put the following into your theme’s function.php file: function wpse_285611_pinterest_rich_pins() { //change 123 to the ID of the post OR //change 123 to the slug or title of the post if ( is_single(123) ) { echo … Read more

Bad theme code – can you find the error?

OK, I’m just going to list things out as I go through. Some of what follows is stylistic feedback, some is security related, some is functional: <div class=”home-featured-block”> <?php $featured_block=$profitmag_settings[‘featured_block_one’]; $no_of_block=$profitmag_settings[‘no_of_block_one’]; I don’t know what the $profitmag_settings variable looks like, but either of these parameters could be unset. Instead of just assuming they exist, you … Read more

Where to put include php file?

First of all I must say that I don’t think this is a wordpress related question. That said I hope this following suggestion helps you go in the right direction… Basically the include(“xxx-xxx.php”); already tells you where to put the xxx-xxx.php – in this case it should go into the same directory where the ‘parent’ is … Read more

Simple Redirect but getting the right code?

Change line 1323 of your screenshot with the following: <li><a href=”https://wordpress.stackexchange.com/questions/127615/<?php echo bbp_get_user_profile_url( get_current_user_id() );?>”>Your Profile</a></li> You can change “Your Profile” with different text if you like.