How do I add CSS and JavaScript to WordPress admin area? In “admin_enqueue_scripts” hook used to include scripts and css in admin area add_action(‘admin_enqueue_scripts’, fun...Read More
Page Template dropdown missing from page attribute in wordpress: Either you are are added any page template or format is not correct while adding page template name It is because of space after the pa...Read More
How to add a logo uploading field in theme customize settings in wordpress While creating our own theme, we need to add a logo adding field in in customize settings of theme (under appearance). add_ac...Read More
In functions.php file, Add following code add_action( ‘admin_menu’, ‘mycustompagemenu’ ); function mycustompagemenu(){ add_menu_page( __( ‘My own Settings’, ̵...Read More
In WordPress themes showing error like : Broken Theme as below : Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style...Read More
How to show/hide div content on click event (jquery)? $( document ).ready(function() { $(‘.searchbutton’).click(function(){ $(“.searchbox”).toggle(); }); });...Read More
if (!class_exists(‘S3’)) require_once ‘s3.php’; // include s3.php file if (!defined(‘awsAccessKey’)) define(‘awsAccessKey’, ‘keyhere’); //aw...Read More
Difference between parse error(syntax error) and fatal errors: Parse error or syntax error occurs if any syntax mistakes in code, example missing braces, semi column, quotes etc.. Fatal error occurs w...Read More
How to create and access buckets in amazon s3 with php? In amazon s3 storage, files(objects) are stored inside buckets,we need to create buckets to store the objects. To create buckets s3 provide diff...Read More
Amazon s3 or simple storage system is storage service by aws. Here files are stored as objects. Objects are stored in buckets. so we need to create buckets first and then store objects inside it. we c...Read More