For a long post content, it is better if we use table of contents to map our article section. Using headings as the content section title will help our reader known what they read. There are many WordPress plugins that create automatic table of contents with standard or extensive features. This article lists the best WordPress plugin for creating table of contents. We will review it by feature, the ease to use, and performance.
What is virtualenv? It is a tool to create isolated Python environments. It creates an environment that has its own installation directories, that doesn’t share libraries with other virtualenv environments (and optionally doesn’t access the globally installed libraries either). This tool can be installed on Microsoft Windows operating system.
WordPress by default will generate the auto excerpt from the content with 55 words and if the amount is greater than that, then the string ‘[…]’ will be appended to the excerpt. If the string is less than 55 words, then the content will be returned as is. In other case, if manual excerpt was added to the post, it will be used as is instead of creating the 55 words.
Well, for you as a website owners who have lots of registered users in your WordPress site, perhaps you want to display them based on their selected country by using the geographical chart. Since Google Chart Tools provide their the Geochart Visualization, it makes the process more simple. The user’s country name should be based on ISO-3166-1 and can be selected in their profile page. This tutorial will guide you in a few steps as detailed below.
Hello, after reading and pay attention to the visualization of the Google Chart Tools with its pie chart, I then had an idea to use categories in WordPress installation. WordPress has provided some PHP functions that we can use with ease. Basically the process of making this chart is not so complicated, just needs a little PHP and WordPress built-in function, and a bit of copy-paste. Consider the following steps to visualize the categories in WordPress with Google Pie Chart.
PaginatorHelper is a CakePHP powerfull helper feature for pagination. It is very easy to use and have good documentation found here. It has functions like
next to generate pagination number with link to the paged. We will discuss how to create Bootstrap pagination for CakePHP.
This is a quick jQuery code or script to find ID with custom pattern. The jQuery match uses pattern as example below:
WordPress wp_tag_cloud function will returns selected tag, category or custom taxonomy terms with cloud style if we use the smallest and the largest parameter. We will get the output in the same size if we set the same size to the parameters. And of course, with the tag tooltip.
As a site owner with a big number of registered users and have some additional roles, perhaps you want to display the total registered users for each roles. WordPress have provided a function
count_users and a global variable
$wp_roles for information of each roles to make it simple. The count_users returns an array data with total users for each role and the total of all registered users.
To obtain multiple posts in accordance with the criteria that we give becomes easier with WP Query class. WP Query can be used to get the latest posts, based on post meta value, number of comments, post types, and so on.There is also a function to get posts by using get_posts() that have same parameters of WP_Query because it uses a new instance of it.