Dynamically populating href using jquery – WordPress

Create a Anchor element which you want to dynamically populate using jquery Giving a class name is important as in your jquery you would refer the href using this class Now time to add some jquery code (this was done for a WordPress theme) – it has by default the jquery added, if you are […]

Read more
Removing links from admin bar (WordPress)

Always a good option to have a child theme so you can mess around with the css and functions to your hearts content. In one of my recent projects i had to totally custom design/re-develop the WordPress admin bar and over the top we were using buddypress on a mulitisite installation. So from my 2 […]

Read more
Making your WordPress hack proof

Securing wp-includes # Block the include-only files. RewriteEngine On RewriteBase / RewriteRule ^wp-admin/includes/ – [F,L] RewriteRule !^wp-includes/ – [S=3] RewriteRule ^wp-includes/[^/]+.php$ – [F,L] RewriteRule ^wp-includes/js/tinymce/langs/.+.php – [F,L] RewriteRule ^wp-includes/theme-compat/ – [F,L] place it outside the # BEGIN WordPress and # END WordPress tags in the .htaccess file. Rename the administrative account On a new install […]

Read more