Adding custom featured image

Posted on Leave a commentPosted in Wordpress

You are creating your own template page and you would want to display featured image, with custom size. Solution: if ( function_exists( ‘add_image_size’ ) ) { add_image_size( ‘slider’, 991, 328, true );} Add this code to your functions.php file And than go to your custom template page and add this code if (has_post_thumbnail()) { echo […]

Creating custom widget

Posted on Leave a commentPosted in Wordpress

The best option is to first create a child theme for your main theme. And than call the functions.php file in it and First Step is to register your sidebar register_sidebar( array( ‘name’ => __( ‘Main Sidebar’, ‘themeName’ ), ‘id’ => ‘sidebar-1′, ‘description’ => __( ‘some useful info’, ‘themeName’ ), ‘before_widget’ => ‘<aside id=”%1$s” class=”widget […]

Webinar by conversologie on SEO and CopyWriting

Posted on Posted in just Blogging

Conversologie a New Zealand based company is bringing two great Webinars on SEO (Search Engine Optimisation) and Copywriting, they will be held on 21st of February at 9pm New Zealand time. For other timezone, click here: Steve Knight an SEO expert and consultant will be taking the search engine optimisation webinar and Lillian Leon […]

Removing links from admin bar (WordPress)

Posted on Posted in 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 […]

Making your WordPress hack proof

Posted on Posted in Geek, Tech, Wordpress

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 […]