Draft

Page 1 Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Donec rutrum congue leo eget malesuada. Quisque velit nisi, pretium ut lacinia in, elementum id enim. Pellentesque in ipsum id orci porta dapibus. Donec rutrum congue leo eget malesuada. Praesent sapien massa, convallis a pellentesque nec, egestas non nisi. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Sed porttitor lectus nibh. Nulla porttitor accumsan tincidunt. Cras ultricies ligula sed magna dictum porta. Page 2 Vivamus magna justo, lacinia eget consectetur sed, convallis at tellus. Praesent sapien massa, convallis a pellentesque nec, egestas non nisi. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Vivamus magna justo, lacinia eget consectetur sed, convallis at tellus. Nulla quis lorem ut libero malesuada feugiat. Nulla quis lorem ut libero malesuada feugiat. Donec rutrum congue leo eget malesuada. Proin eget tortor risus. Page 3 Proin eget tortor risus. Praesent sapien massa, convallis a pellentesque nec, egestas non nisi. Donec sollicitudin molestie malesuada. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Nulla quis lorem ut libero malesuada feugiat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Sed porttitor lectus nibh. Donec sollicitudin molestie malesuada. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Cras ultricies ligula sed magna dictum...
WordPress Editor Heading Styles

WordPress Editor Heading Styles

Headings are very important part of the content that can easily be used in WordPress Editor. These not only divide the content on your website page for better visualizations, but also helps increase the site SEO. Because it tells search engines like google the important points of the content on your site. See following video demonstration to use headings in WordPress Editor. [wpmudev-video video=”add-heading”] There are 6 heading styles in HTML starting from H1 being the biggest size and most important part of the content. In WordPress Editor you can easily add headings in your content using WordPress editor. Jus select the text in the editor, and select relevant heading from the first by clicking on dropdown menu in the first row of editor tool that is by default set to...

WordPress Media Library

WordPress media library is another great feature of WordPress core. It made managing media files including images, sound tracks and videos a breeze. I remember creating a system for managing media in custom PHP CMS (Content Management System) was a nightmare for developers. Before we go deeper in Media Library, watch below video demonstration to add/upload images to your WordPress Media Library. [wpmudev-video video=”add-media”] Here are steps for those who don’t want to watch the video. Go to WordPress Dashboard -> Media -> Library and click on Add New button. Simply find the media file(s) such as image(s) from your computer and drop anywhere on this page. OR click on Select Files button to browse the files and upload. Done! Allow .svg files in WordPress media library By default WordPress does not allow uploading .svg files in media library. We can allow this file type by using the following code. https://gist.github.com/sjaved87/1c8a1524c96172651327d2f7dc929ccb#file-allow-svg-ml-php Allow .zip or .gzip archive files in WordPress media library In case you want to upload .zip or .gzip archives in WordPress Media Library then you can do this by using following code snippet. https://gist.github.com/sjaved87/c55a2f6c86b8c690a8a99bb8628bc793#file-allow-zip-gzip-ml-php How to use the custom code snippets Now, if you are wondering how you can actually use the above code in your website. Then don’t worry, here are two simple methods to do this. One: You can add the above code at the very end of functions.php file of your child theme. Make sure you remove <?php tag at the line one of both snippets, since functions.php file have starting php tag already. Two: You can also use these as mu-plugin. Must Use plugins or mu-plugin are like...

How to change register link in WordPress

So you have created a fancy and customized registration form on a page for smooth registration and now want to change the default register link on wp-login.php ? If yes then continue reading 🙂 To change/replace the default registration link with your own custom registration page link, add following code in functions.php file of your child theme or use it as mu-plugin. https://gist.github.com/sjaved87/c12a98fdc767f37d1be83e83e8d80328 If you take the mu-plugin route, you’ll want to log into your site via FTP, and go to your /wp-content/ folder via FTP, finding the folder called “mu-plugins”. If there’s no folder with that name, then you’ll want to create one. Then, create a file inside that folder, and give the file any name you like (making sure the file has an extension of .php, e.g. example.php) and paste the code in there. It’ll always be active, so there’s no need to activate the plugin after creation. Be sure to add a PHP start tag at the beginning of the code, like this: https://gist.github.com/sjaved87/b9038c629c065304886b230ce3a0997f Now, you need to modify the code to make it work according to your requirements. I will break the code into parts and explain. https://gist.github.com/sjaved87/c83020e61ccb3a7d0fadd4dd73813b2c This is required and most important part of the above code. Make sure you replace the placeholder Register_URL with custom registration URL. Where you have created your custom registration form. https://gist.github.com/sjaved87/ca143d1e5c6952fec14d500e4d504a65 This is optional but can play important role to attract your visitors click and go to registration page (make it call to action). Simply replace the text Register with your own text e.g. Signup or any other word you think can help convert.  ...
Preserve Language Files After Update

Preserve Language Files After Update

One of most annoying thing happened to us is when we update our WordPress plugins or Themes we always lost our translations 🙁 I know how much time one spend translating plugin or theme specially first time 🙂 Today I will show you how you can prevent your languages files being overridden after a plugin/theme update and where you must put your languages (.po, .mo) files. Its quite simple and quick then you think! For plugins: Create “languages” folder in wp-content folder via FTP program ( e.g. FileZilla) or cPanel file manager. Create “plugins” folder in languages folder that you created in first step. Now move any plugin’s translation files in this folder For themes: Create “languages” folder in wp-content folder (omit if you already created this folder for plugins). Create “themes” folder in languages folder. Now move any theme’s translation files in this folder   See the structure/herirarchy of these directories/folder in below image.      Conclusion: Now WordPress will load translation files from these folders and will not override languages (.po, .mo) files when you will update your themes and/or plugins 🙂...
Page 1 of 612345...Last »
Inline
Inline