Category: Development

Change permission settings for Joomla users

If you have set up a new Author in Joomla and find that they are not able to log into the Joomla Admin console. There there Permissions settings might not be set up right. Follow these steps to find the User permission settings: Log into joomla Go to Global Configuration…

Read More

Simple but effective .htaccess blocking for IP address

This is a simple but very effective way to block people from accessing folders in your website. Simply create a .htaccess page and place the following code: #Order deny,allow JOE Allow from [user ip address] We use this on most of our website installation to lock access to a website to…

Read More
wordpress designer melbourne

Display the second or third level menu items in WordPress

Display the second or third level menu items in WordPress. Surprisingly WordPress does not have this feature built into it.

Read More

Disable and delete post revisions

Add the following code to your wp-config.php file define(‘AUTOSAVE_INTERVAL’, 300 ); // seconds define(‘WP_POST_REVISIONS’, false ); Then delete the existing posts marked as revisions in the MySql database with the following SQL command DELETE FROM wp_posts WHERE post_type = “revision”;

Read More

Setting the username and email for your GIT Repo

Use the following code to set the default username for your git repo git config –global user.name “jfernandez” and the following to check: git config –global user.name Use the following code to set the default email for your git repo git config –global user.email “hello@toffy.com.au” and the following to check:…

Read More

Check if user is logged into wordpress

This is the following code that will be used to log users into wordpress.

Read More

Using the MMenu WordPress plugin to list your categories (its what we use for this site)

This how you use the very famoust MMenu to list categories in a wordpress website.

Read More
wordpress security release

WordPress check if the user is logged in

Use the following code to check if a user is logged into a WordPress website.

Read More

Display the wordpress’s blog name

Use the following code to display the WordPress blog name:

Read More

GIT Amend Previous Commit

Using this command will let you amend your very last commit:

Read More
© Toffy Digital 2018 Powered by Toffy Digital