Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


wiki:how-to-remove-thanks-to-wordpress-and-wp-advocate-in-the-footer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:how-to-remove-thanks-to-wordpress-and-wp-advocate-in-the-footer [2020/02/13 01:57] wikiadminwiki:how-to-remove-thanks-to-wordpress-and-wp-advocate-in-the-footer [2020/02/13 11:10] wikiadmin
Line 1: Line 1:
 ======How to remove "Thanks to WordPress and WP-Advocate" in the WordPress footer====== ======How to remove "Thanks to WordPress and WP-Advocate" in the WordPress footer======
  
-This applies to the WordPress Theme known as WP-Advocate by [[wpdevshed.com]].+This applies to the WordPress Theme known as WP-Advocate by [[https://www.wpdevshed.com/our-themes/]].
  
-Find the footer.php file for the them WP Advocate.  It is located in the path /website-root/wp-content/themes/wp-advocate/+Find the footer.php file for the theme known as WP Advocate.  It is located in the path /your-website-root/wp-content/themes/wp-advocate/
  
-Using NotePad++ Open the file called "footer.php" and then save as "foot.php-backup"+Using NotePad++ Open the file called "footer.php" and then save as "footer.php-backup"
  
-Close the backup that you just created and re-open the original file called "footer.php" +Close the backup that you just created and use Notepad++ to re-open the original file called "footer.php" 
  
-Locate the following source code:+Locate the following source code / script:
  
 <code> <code>
Line 26: Line 26:
 </code> </code>
  
-Do you see the following conditional?+Now find the following conditional within the above script:
  
 <code><?php if(is_home() || is_front_page()): ?></code> <code><?php if(is_home() || is_front_page()): ?></code>
  
-Replace || with && and then save the file footer.php.+Here is the solution.
  
-This symbol || is the OR conditional. +Replace || with && and then save(/overwrite) the footer.php file.
-This symbol && is the AND conditional.+
  
-As long as your homepage is not your blog page, only the copyright notice will now display.  In other words, if you specify a static page (other than the homepageas your blog roll page, then it will no longer display "Thanks to WordPress and WP Advocate."+Following is the resulting conditional: 
 + 
 +<code><?php if(is_home(&& is_front_page()): ?></code> 
 + 
 +This symbol || is the OR logical operator. 
 +This symbol && is the AND logical operator. 
 + 
 +Your footer section of your homepage will no longer display "Thanks to WordPress and WP Advocate."  It will only display the copyright notice of the title element of the website.
  
  
wiki/how-to-remove-thanks-to-wordpress-and-wp-advocate-in-the-footer.txt · Last modified: 2020/02/13 11:25 by wikiadmin