Tutorials

How to Install Kindle For PC on Ubuntu 18.04

(Editor’s Note: We are not responsible over any form of content available on other websites. Download their content or software at your own risk.) When you buy ebooks from Amazon, you have the options of reading them using Amazon Kindle E-Readers, the Kindle Cloud Reader (a website), and the free Kindle app available on iOS, Android, Mac, and PC. But what if you’re a Linux user? Sorry, the app is… Read more

How to Install Wine on Ubuntu 18.04

(Editor’s Note: We are not responsible over any form of content available on other websites. Download their content or software at your own risk.) When you first switch from Windows to Ubuntu, you find that there are software that you cannot install on your new operating system. The good news is, there is a piece of software that can help you do just that. It is called Wine. Installing Wine… Read more

How to Display Recommended Posts in WordPress

The enumerated steps below will display a list of your Recommended Posts with thumbnail images in the sidebar of your WordPress-powered website. The list will be consist of five titles right next to their corresponding images. This tutorial uses a WordPress category to display the list. If after reading this article you want a different method of doing the same thing, you may read the article How to Display Featured… Read more

How to Display Featured Posts in WordPress

This tutorial will display a list of your Featured Posts with thumbnail images in the sidebar of your WordPress-powered website. The list will be consist of five titles right next to their corresponding images. Furthermore, this will create a checkbox under each of your posts in the WordPress dashboard. If after reading this article you want a different method of doing the same thing, you may read the article How… Read more

How to Truncate and Add ‘Read More’ to Your WordPress Excerpt

Add any of the following lines of code to the functions.php file: Code 1 – Read More // Truncate excerpts and add ‘Read More’ // Truncate excerpt function custom_excerpt_length( $length ) { return 70; // Number of words } add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 ); // Add a “Read More” link to the end of an excerpt function excerpt_read_more( $more ) { return ‘… <a href=”‘.get_the_permalink().'” class=”readmore”>Read More…</a>’; } add_filter( ‘excerpt_more’,… Read more

How to Display Most Popular Posts in WordPress

The following steps will display a list of your Most Popular Posts with thumbnail images in the sidebar of your WordPress-powered website. The list will be consist of five titles right next to their corresponding images. 1. Add the following lines of code to the functions.php file: // Set image sizes add_theme_support(‘post-thumbnails’); if ( function_exists( ‘add_theme_support’ ) ) { add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 50, 50, array( ‘center’, ‘center’) ); add_image_size(… Read more

How to Create a Numeric Pagination in WordPress

This tutorial will display a numeric pagination on the front page of your WordPress-powered website — or on the archive page where you want to display the numeric pagination. The image of the numeric pagination is shown below. You may edit the code to suit your design needs. 1. Copy the lines of code below and paste them into the functions.php file: // Display Numeric Pagination Nav function pagination($pages =… Read more

How to Create a Custom Recent Posts Widget in WordPress

The following steps will create a custom recent posts widget in WordPress. The widget will display titles right next to their corresponding thumbnail images. 1. Add the following lines of code to the functions.php file: // Unregister the default WP Recent Posts widget function custom_init_unregister_meta_widget(){ unregister_widget(‘WP_Widget_Recent_Posts’); } add_action(‘widgets_init’, ‘custom_init_unregister_meta_widget’); // Set image sizes add_theme_support(‘post-thumbnails’); if ( function_exists( ‘add_theme_support’ ) ) { add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 50, 50, array( ‘center’, ‘center’)… Read more

Solved: WordPress Permalinks Not Working in Ubuntu 16.04

1. Open the Ubuntu Terminal and type in the following code: $ sudo gedit /etc/apache2/apache2.conf 2. A text editor will pop up. Look for the following lines of code: <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> 3. Create more space below the lines of code in Step 2. 4. Copy the bits of code below and paste them into the space you created in Step 3:… Read more