Category Archives: WordPress

WordPress and jQuery AJAX … and some PHP

I had an issue where I created a custom form in WordPress using jQuery, AJAX, and PHP. Here’s a quick rundown of the process. I created a custom WP template file with form HTML included. I created a JS script … Continue reading

Posted in AJAX, PHP/MySQL, WordPress | Comments Off on WordPress and jQuery AJAX … and some PHP

Using “jQuery” instead of “$” in WordPress

In jQuery, the dollar sign character ($) is a shortcut used to represent “jQuery”. You can start your expressions like this: $(‘.content’).css(‘color’,’red’); But, other JS libraries and frameworks also use this character, so with WordPress you must use “JQuery” instead … Continue reading

Posted in jQuery, WordPress | Tagged , | Comments Off on Using “jQuery” instead of “$” in WordPress

Add menu to theme in WordPress

“header-menu” is the name of the menu. You can get that name in the Appearance / Menus section, or create a new one, or rename the default menu. <?php wp_nav_menu( array( ‘theme_location’ => ‘header-menu’ ) ); ?>

Posted in WordPress | Tagged , | Comments Off on Add menu to theme in WordPress

WordPress asking for FTP info when trying to install plugins, themes, updates, etc.

I was having this issue with a site and the fix was to add the FTP info to the wp-config.php file. Keep in mind that I had FTP info that worked using an FTP client, but that same info did … Continue reading

Posted in WordPress | Tagged , | Comments Off on WordPress asking for FTP info when trying to install plugins, themes, updates, etc.

9 Problems With WordPress You Didn’t Know About (And How to Fix Them)

Great post from themetrust.com about WordPress security and performance.   themetrust.com/9-problems-with-wordpress-you-didnt-know-about-and-how-to-fix-them

Posted in WordPress | Tagged , | Comments Off on 9 Problems With WordPress You Didn’t Know About (And How to Fix Them)

More form input cleaning – Validating Sanitizing and Escaping User Data

This article is somewhat specific to WordPress, but the principals are universal. https://codex.wordpress.org/Validating_Sanitizing_and_Escaping_User_Data

Posted in PHP/MySQL, WordPress | Comments Off on More form input cleaning – Validating Sanitizing and Escaping User Data

15 Advanced Security Tips To Make Your WordPress Site Bulletproof

Very important WordPress security tips. https://www.corephp.com/blog/15-advanced-security-tips-to-make-your-wordpress-site-bulletproof/

Posted in WordPress | Tagged , | Comments Off on 15 Advanced Security Tips To Make Your WordPress Site Bulletproof

Find WordPress database info

In the root folder of the site, look for a file called wp-config.php.

Posted in WordPress | Tagged , , , , , , | Comments Off on Find WordPress database info

Create a child theme

This info came mostly from  http://www.elegantthemes.com/blog/resources/wordpress-child-theme-tutorial and some of my own experiences. Create a new folder for your child theme. /parenttheme-child/ is the convention. Within your new theme folder, create a file called style.css and fill in the information as … Continue reading

Posted in WordPress | Comments Off on Create a child theme

Replace WordPress logo on login page

You can either replace the image, or edit the CSS. wp-admin / css / login.min.css There might be an easier way than this. I spend 5 min doing this, and no research, so there might be a built in function … Continue reading

Posted in WordPress | Comments Off on Replace WordPress logo on login page

Stop WP from adding

tags and other stuff

Add this to template page: <?php remove_filter (‘the_content’, ‘wpautop’); ?>

Posted in Uncategorized, WordPress | Comments Off on Stop WP from adding

tags and other stuff

Convert HTML to WordPress

Pretty clear article on making a basic WordPress theme from existing HTML. https://thethemefoundry.com/blog/html-wordpress/

Posted in WordPress | Tagged | Comments Off on Convert HTML to WordPress

WordPress – remove “posted on” date

Edit style.css display: none;

Posted in WordPress | Leave a comment

Checking out Bones WP theme.

Posted in WordPress | Leave a comment

Remove search box from main nav menu

Remove search box from main nav menu: Go to ‘Appearance > Editor > Header (header.php) Find the following close to the end: <?php get_search_form(); ?> Remove it, or, replace it with the follow: <!– <?php get_search_form(); ?> –>

Posted in WordPress | Tagged , | Leave a comment

Change the page that the blog displays on

SETTINGS –> Reading –>

Posted in WordPress | Tagged , | Leave a comment