Tag Archives: WordPressPlugins

How To Remove The Tag Base From WordPress Permalinks?

You can remove the base tag slug in the WordPress permalinks structure. Earlier this was done with the help of a plugin or PHP function but now you can do it from your admin area dashboard.

By default the tag URL on WordPress looks something like this – yourdomain.com/tag/tag-name, now we have to remove the tag from the permalink so that URLs should look something like this yourdomain.com/tag-name/.

These steps allow you to remove the tag prefix completely by modifying your site’s permanent link settings.

  1. Navigate to your WordPress dashboard
  2. Navigate to Settings -> Permalinks page
  3. Scroll to Custom Structure and put ‘/%tag%/%postname%/’.
  4. Go to Tag Base and type in a dot “. “
  5. Save your changes.

The tag prefix is removed by typing the dot in the tag base field. It completely removes the mandatory tag base from the tag permalinks, so the tag name comes right after your domain name in the permalink structure.

By default, this field is left blank which represents the default prefix.

How To Remove The Category Base From WordPress Permalinks?

You can remove the base category slug in the WordPress permalinks structure. Earlier this was done with the help of a plugin or PHP function but now you can do it from your admin area dashboard.

By default the category URL on WordPress looks something like this – yourdomain.com/category/category-name, now we have to remove the category from the permalink so that URLs should look something like this yourdomain.com/category-name/.

These steps allow you to remove the category prefix completely by modifying your site’s permanent link settings.

  1. Navigate to your WordPress dashboard
  2. Navigate to Settings -> Permalinks page
  3. Scroll to Custom Structure and put ‘/%category%/%postname%/’.
  4. Go to Category Base and type in a dot “. “
  5. Save your changes.

The category prefix is removed by typing the dot in the category base field. It completely removes the mandatory category base from the category permalinks, so the category name comes right after your domain name in the permalink structure.

By default, this field is left blank which represents the default prefix.

Alternatively, you may add the following rule in .htaccess file present in the root directory of your website :

RewriteRule ^category/(.+)$ https://www.yoursite.com/$1 [R=301,L]

This also removed the category base, don’t forget to replace yoursite.com with your domain. The same can be done with the help of the Yoast SEO plugin. If you are using it on your website simply navigate to Yoast SEO -> Search Appearance and open the ‘Taxonomies’ tab.

Scroll to the Category URLs, select ‘Remove the categories prefix’, and save the changes.

How To Set External Links To Open In A New Tab In WordPress?

It is easy to link a word and set its target to blank so that it opens in a new tab. Most website owners want to make all external links open in a new window and all internal links open in the same tab, you can make this thing easy and automatic with the help of a plugin.

Simply install and activate Open external links in a new window on your WordPress site. Once the plugin is activated, navigate to your admin area dashboard Settings -> External Links page.

By default, the plugin makes all external links open in a new tab but on its settings page, you can type URLs that should either be forced to open in a new window or ignored. Some of the basic features of this plugin include:

  1. It opens up all (or specific) external links in a new window
  2. It produces XHTML Strict compliant and is search engine optimized (SEO)
  3. It can can open external links starting with http:// or https:// in a separate browser window or tab
  4. It handles the links client-side, which lets search engines follow the links properly
  5. It becomes inactive when a browser does not support JavaScript, and hence doesn’t result any errors

If you need more advanced features, there is another free plugin called WP External Links. This plugin lets you manage all external and internal links on your website by enabling you to control icons, nofollow, no opener, UGC (User Generated Content), sponsored, and yes if links open in a new window or new tab.

How To Mirror Content From One WordPress Post Or Post Type To Another ?

If you’re using the Block Editor, you can use the “Query Loop” block or “Reusable Blocks” to include content from other posts or pages.

Creating & Inserting Reusable Blocks

  1. Go to Posts or Pages and edit the content you want to reuse.
  2. Select the block(s) you want to reuse, click the three dots, and select “Add to Reusable Blocks”.
  3. Name the reusable block and save it.
  4. For inserting the Reusable Block, edit the post or page where you want to display the content.
  5. Add a “Reusable Block” and select the one you created.

Using Query Loop Block

  1. Edit the post or page where you want to show content.
  2. Click the “+” button to add a new block and select “Query Loop”.
  3. Configure the block to display specific posts or pages.

The Insert Pages Plugin

The Insert Pages plugin for WordPress is a useful tool that allows you to embed the content of one page into another page or post. This is particularly helpful if you want to reuse content across multiple locations on your website without duplicating it.

  1. Simply install and activate the plugin.
  2. Upon activation, open the post, page, or any post type where you want to display content and click the ‘+’ icon.
  3. Type ‘Insert Page’ in the search and insert the correct block.
  4. Select the page you want to embed using the settings in the right-hand menu.
  5. Under the ‘Insert Page’ option, either enter the URL of the page or begin typing its title, which will trigger a dropdown menu. From this menu, choose the appropriate page or post.
  6. In the ‘Settings’ section you can view how the embedded content will look like.
  7. From the ‘Display’ dropdown, select the type of content you want to include, such as the post title, link, excerpt, or the full page content.
  8. The plugin also enables you to add custom CSS, opt to display the page content inline, and even restrict visibility to registered users only, hiding the content from anonymous visitors.
  9. Once you’re satisfied with the appearance of the content, be sure to click ‘Update’ or ‘Publish’ to save your changes.

Alternatively, especially on old WordPress installations or sites using the classic WordPress editor, you can mirror content by using the Content Mirror plugin. The plugin enables you to mirror your WordPress site content from one page or post to another, you can also do this between subsites in a WordPress multisite network.

Simply install and activate Content Mirror. After activation, the plugin adds its TinyMCE button in the content visual editor, the button is simply used for mirroring content.

The plugin lets you mirror content from pages and posts, as well as custom post types and display it on other pages, posts, or custom post types. It is multisite compatible and works across sites in a WordPress multisite network configuration.

How To Assign Categories To WordPress Media Library Files?

Enabling categories over WordPress media files lets you easily group and find the images. Just like posts, you can enable the category taxonomy in your WordPress admin area dashboard’s ‘Media’ section.

To do so, simply navigate to your admin area Plugins -> Add New page to search and install the Media Library Categories plugin on your website. Upon activation, the plugin will add a categories section on Media -> Categories page.

From this page, you would be able to create and manage categories. The categories could be either assigned while uploading the image or from the Dashboard -> Media page. You can also browse images by their category and perform bulk editing actions from this page using the drop-down option.

Apart from enabling you to add, remove, edit categories, change the category of multiple photos at once, and browse images by their category. The plugin also lets you display photos from a selective category by using a shortcode.

How To Display Photo Galleries By Category?

For displaying photos from a category in a gallery format you simply need to add the ‘category‘ attribute to the shortcode and then use it on any post or page just like any other shortcode.

The value handed to the ‘category‘ attribute can be either the category slug such as:

[gallery category="my-category-slug"]

Or the term_id, such as:

[gallery category="14"]

When you only want to display attachments uploaded to the page and filtered by category then use the ‘id‘ in combination with the ‘category‘ attribute:

[gallery category="my-category-slug" id="123"]

Or leave the ID empty for the current page/post:

[gallery category="my-category-slug" id=""]

In the given example, the slug is used, but as you can see the term_id can also be used.

You should also know that the WordPress Media Library uses the same categories as WordPress does in posts. Still, if you want you can use separate categories as a custom taxonomy from Settings -> Media page or by clicking on the settings quick link on the plugins overview page.

How To Auto Remove Formatting Tags While Pasting Content In WordPress?

When you run a multi-author blog a common problem that comes to your WordPress site is having different layout styles in different blog posts, which disturb the look of your website.

This happens when some authors don’t remove HTML formatting after copy-pasting content from their Word, Writer, Google Docs, or any other editor to your blog. Hence, the undesired HTML tags and formatting also get into the posts and pages of your website. This lesson guides you on how you can overcome this issue simply by activating a plugin.

The problem can be resolved and safe pasting on your website can be easily implemented by using the Secure Paste plugin. You simply need to navigate to Plugins -> Add New page to find and install the plugin. After activation, the plugin removes any HTML tags from your blog’s posts and pages before inserting them into the database. Thus, it prevents all your website users from pasting undesired HTML tags to post and page content.

The following are the HTML tags that stay and any other HTML tag, attributes, and formatting are automatically removed by the plugin:

<p> <a> (allowed attributes: href, title). <img> (allowed attributes: src, alt, class). <h1> <h2> <h3> <h4> <h5> <h6> <blockquote> <ol> <ul> <li> <em> <strong> <del>

The removal of formatting takes place while your authors edit their post or page content in any status such as scheduled, draft, published, etc. But this fixing of content is only done on the new content i.e. the content created or edited after the activation of the plugin.

How To Use Separate Themes On Different Pages In WordPress?

You can assign a separate theme on home, posts, search, archive and other pages of your WordPress site.

In this lesson, you will learn how easily you can get control over the look and feel of your website by assigning different themes to different areas of your website.

Simply navigate to your admin area dashboard to find and install Multiple Themes plugin. After activation visit your admin area Dashboard -> Appearance -> Manage Themes page to assign different themes over different sections of your website.

The plugin will enable you to choose

  1. A Theme for All Posts
  2. A Theme for All Pages
  3. A Theme for Site Home
  4. A Theme for an Individual Post
  5. A Theme for an Individual Page
  6. A Theme for Selective Archive Page
  7. A Theme for Selective Search Pages, Terms, and more

The plugin enables you to choose a different theme for everything and override the active WordPress theme on your website.

Updating WordPress Theme Options

Now the question arises how you would be able to change the theme options for any theme you want? Well that is possible, you will find the complete process in this lesson.

The plugin doesn’t changes the active WordPress theme on your website. Instead, it works by dynamically overriding the settings on the pages and sections selected by you.

How To Export And Import WordPress Menus?

The WordPress navigation menus can also be exported and imported just like posts and pages.

WordPress export page on the admin area ‘Tools’ menu doesn’t allow you to export navigation menus although menus are exported when you download the complete XML file by selecting the ‘All Content’ option.

In case you only want to export navigation menus then this lesson guides you on how to do that easily on any WordPress Website.

How To Export WordPress Menus?

Simply navigate to Plugins -> Add New page on your admin area dashboard to find and install a WordPress plugin called ‘WPS Menu Exporter‘.

Upon activation, visit the Tools -> Export page and you will notice that a new radio button option ‘Navigation Menus’ has been added to the export items list. Tick that option and click the ‘Download Export File’ button and you would be able to export navigation menus just as you export Pages, Posts, and Media from your WordPress site in the form of an XML file.

How To Import WordPress Menus?

For importing navigation menus to other WordPress websites, visit the Tools -> Import page on the website you want to import menus.

The page might ask you to install WordPress importer. For that, you just need to click the ‘Run Importer’ button below WordPress and it will be installed. Now you can select and upload the XML file to import menus o your website.

Visually Edit The Footer Credit Line In WordPress

In WordPress, the footer credit line is a text with a link to credit the WordPress and its theme developer. You can anytime change the footer credits of your theme if you have something more important to display there. In general, this is done by editing the footer.php file of the theme active on your website but now you can do this thing visually by using a plugin.

Simply install and activate Visual Footer Credit Remover plugin in your WordPress site and then navigate to your admin area dashboard’s Tools → Visual Footer Credit Remover and click OPEN VISUAL EDITOR button.

This will take you to the home page of your website with a visual composer box on the right. Simply scroll down on your website, click the footer text you want to edit, and replace it with your own text in visual credit remover box. Click the save button and you are done.

How Add Signature On Auto-sent WordPress Emails?

WordPress automatically sends email to your users on various occasions. Like it sends email when a comment is replied, on user registration, private messages, password reset etc.

This lesson is about adding a custom signature line after every email sent automatically to your users from your WordPress website.

Continue reading How Add Signature On Auto-sent WordPress Emails?

How To Use Google AJAX Libraries CDN To Speedup WordPress?

You can make your WordPress website to use common JavaScript libraries from Google AJAX Libraries CDN in order to make it fast as it enables users to download jQuery faster than before.

Continue reading How To Use Google AJAX Libraries CDN To Speedup WordPress?

How To Clone WordPress Websites In Multisite Network?

You can easily clone existing WordPress websites to completely new ones in just a few seconds with all content, theme option and plugin configurations etc.

Continue reading How To Clone WordPress Websites In Multisite Network?

Easily Turn Any WordPress Page InTo A Beautiful Resume

You can turn any simple WordPress page into a Resume Page by using the new easy WordPress plugin called Resume Page. The plugin provides you all inbuilt basics for all what a resume page needs. The plugin follows traditional resume layout and is completely customizable with in-built design options and also you can add your custom CSS.

It provides you power to turn any page of your website into a different resume page. It also has a smart templating feature that enables developers to easily override the template simply by dropping it into child theme.

resume-page screenshot 1

Resume Page with stacked corners.

resume-page screenshot 2

Resume page with flat view and background image

resume-page screenshot 3

Github and Portfolio integration

How to use Resume Page Plugin?

Install and activate Resume Page. Upon activation the plugin automatically adds various metaboxes in Add New/Edit Pages. For creating a new resume page all you have to do is create a new page from Dashboard -> Pages -> Add New and tick ‘Make this page a Resume Page’ option in Resume Page metabox, you can also select your resume page theme, layout and manage its sections right from the page admin section.

See it live working here.

Main Features:

  1. Portfolio:Integrated lightbox portfolio
  2. Github: Integrated Github activity stream
  3. Themes: Choose from a flat setup or stacked paper corners with CSS3
  4. Reusable: Use it on every page of your site and each resume can be completely different
  5. Templating: Themers can copy the template from /templates/resume-page-template.php into a child theme and mod away safely

Github Style Easy Headline Parser For WordPress Blogs

If you like writing long articles with multiple headings, ONet Auto Headline Anchor will allows you to add a link next to your headings so that your readers can easily share posts pointing to specific parts, you might have noticed this feature in GitHub and on some websites running on Mediawiki. The feature is also loaded with a smooth scroll script.

Install and activate ONet Auto Headline Anchor then follow the given steps:

  1. Upon activation visit your admin area Dashboard -> Settings -> Reading
  2. Scroll down to ONet Auto Headline Anchor settings section and select your settings
  3. It allows you to set the options like Enable parse, Choose Linkify style, Linkify style, Smooth scroll, Use cache, Select Tags to parse from H1 to H6, Add support for posts & pages

Also you can get a TOC of content by using ONetAutoHeadlineAnchor::get_toc([content],[optional: return hierarchical or raw list]).

The plugin contains a predefined style for Git-like link display but it is hardly recommend to change the style to fit your needs (and your design).

Improve WordPress Pagination With Extra Input (Jump To) Number

You can improve your WordPress site pagination by adding enabling extra input number that simply allows users to jump to any (x) page. There are various pagination plugins that changes default ‘Older Posts’ & ‘Newer Posts’ option to page number, now this tutorial explains you to add one extra function that enables users to jump to some page number directly.

Continue reading Improve WordPress Pagination With Extra Input (Jump To) Number

Creating Beautiful & Responsive YouTube Video Albums In WordPress

You can fetch yours or someone else’s YouTube video (uploads or favorites) from YouTube channels to create beautiful albums with retrieved info into your WordPress site. Srizon Responsive Youtube Album is the new WordPress plugin by srizon.com. Using this new plugin you can create video albums, the play video on a responsive lightbox, you can add as many albums as you want and display them using shortcodes which are generated automatically, you can copy/paste them into your blog post, page or any other custom post type etc.

Install and activate Srizon Responsive Youtube Album. Upon activation the plugin adds a new menu ‘YouTube Album’ in WordPress admin area. Follow the given steps:

  1. From Dashboard -> YouTube Albums menu click on the Albums submenu
  2. Click “Add New” button to add a new album. (or click on an existing album title to edit that)
  3. Fill-up or modify the form and save that
  4. Your albums will be listed along with the shortcodes. Use the shortcodes into your page/post to show the video album
  5. Try out different options to suit your need
srizon-responsive-youtube-album screenshot 1Thumb with description layout – wide view
srizon-responsive-youtube-album screenshot 2Thumb Grid layout – wide view
srizon-responsive-youtube-album screenshot 3Video in responsive lightbox – wide view
srizon-responsive-youtube-album screenshot 4Video in responsive lightbox – small screen
srizon-responsive-youtube-album screenshot 5Thumb Grid layout – small screen
srizon-responsive-youtube-album screenshot 6Admin View – Adding album – basic
srizon-responsive-youtube-album screenshot 7Admin View – Adding album – layout related optionssrizon-responsive-youtube-album screenshot 8
Admin View – Album list with shortcodes

Pro Version:

There is also a pro version of this plugin having following more features:

  • you can sync as many videos as you want (assuming that your connection and server’s memory can handle the data)
  • playlist is also supported besides channel uploads and favorites
  • 3 layouts available (one additional responsive slider besides 2 free layouts)
  • pagination is available for 2 layouts

Generate Favicon From Any Image In One Click From WordPress Admin Section

FavHero – Favicon Generator is a quick one-click favicon generator for WordPress sites. With this new plugin you can instantly in just one click generate favion from any image you have in your WordPress media library. Install and activate FavHero – Favicon Generator plugin, after activation visit your admin area Dashboard -> Settings -> FavHero Favicons page, click ‘Select Faviocn‘ button to select an image from your media library to make it your website’s favicon. Also you can upload any image from your local hardrive and make it your site’s favicon.

Continue reading Generate Favicon From Any Image In One Click From WordPress Admin Section

Use Jetpack Sharing Feature Without Installing Whole Jetpack Package In WordPress

Jetpack is a popular WordPress plugin that provides you a package of various cool features designed by WordPress.Com. This tutorial is on new WordPress plugin that installs only sharing module of Jetpack into your WordPress site. Useful for the users interested in only sharing feature of Jetpack, now there is no need of installing whole package.

Jetpack Sharing is the new WordPress plugin by Anas H. Sulaiman. The plugin contains Jetpack’s sharing module and activates it in your WordPress site. Simply install and activate it the visit your admin area Dashboard -> Settings -> Sharing page and set the options.

Features: All what you get in Official Jetpack’s Sharing Module:

  • Choose social networks buttons you’d like to add.
  • Drag and drop style for button selection.
  • Hide some buttons behind a share button.
  • Add your own custom buttons.
  • Choose from 4 different buttons styles: icon only, text only, icon + text, or official buttons.
  • Custom sharing label. (displayed next to sharing buttons)
  • Open links in the same window, or in a new one.
  • Choose where the buttons show up.
  • Preview how the buttons will be appear on your website, right from the settings page.

How To Disable WordPress Comments By Referers?

You can disable your website comments by referers which means you can ban visitors from some websites from viewing or adding comments to your website’s posts, pages etc.

How to disable comments by referer?

Disable Comments By Referer is the new WordPress plugin that lets you selectively disable comments for visitors coming from certain websites (e.g. reddit).

Install and activate the plugin then follow the given steps:

  1. Upon activation visit your admin area Dashboard -> Settings -> Discussion page
  2. Scroll down to ‘Referer Blacklist for Comments’ section (added at the very bottom of the page).
  3. Type the a comma-separated bare hostnames, (ex: www.reddit.com, news.ycombinator.com.) in the given text area as shown in following given screenshot:

That’s all. Save your settings and you are done. How it works?

If a visitor’s HTTP referer matches to one of the hosts you’ve blacklisted then the your post will look like as comments have been disabled on your website, neither existing comments nor the new comment form is displayed.

How To Show/Hide Title On Per Post-Page Basis In WordPress?

You can very easily show or hide on your WordPress site post, page or any other custom post type etc on per post basis. You can decide on what post/page you like to show title and on what post/page you like to hide. This way you can hide selected post/page titles on single pages. Hide Title is a handy WordPress plugin that allows you to do so. [Also read: Hiding Selective Widgets Title]

So first install and activate Hide Title plugin. Upon activation the plugin automatically adds Hide Title meta box on edit content page. Now what you have to do is tick the checkbox for showing/hiding title in single i.e. pages.

Title on archive pages show as it is but when the title is clicked and single page is opened, the title goes off itself. The plugin doesn’t disturbs your old posts, pages etc. By default ‘Hide the title on singular page views’ option is unchecked.

How To Add Custom CSS Classes To Individual WordPress Widgets?

By default most WordPress themes uses same style for all sidebar and other widget areas. This tutorial is on how you can make selected widgets on your website look differently in some custom style given by you.

First of all install and activate the WordPress plugin called Widget CSS Classes. This is a well known WP plugin that allows you to add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets. Not only this much but it also adds some additional classes to help you style your widgets more easily:

  • widget-first: added to the first widget in a sidebar
  • widget-last: added to the last widget in a sidebar
  • widget-odd: added to odd numbered widgets in a sidebar
  • widget-even: added to even numbered widgets in a sidebar
  • widget-#: added to every widget, such as widget-1, widget-2

After activation visit your admin area Dashboard -> Appearance -> Widgets page and you will see a new CSS class field is added under each widget. Now all you have to do is write custom CSS and add its class to individual widgets.

Screenshot showing basic widget after the plugin is activated:

Screenshot showing widget with ID field and Dropdown option enabled:

Widget Options & Features:

There are some more options this widgets provides you (Settings -> Widget CSS Classes) like you can enable Widget Number Classes, First/Last Classes, Even/Odd Classes, Show Additional Field for ID, Class Field Type Text Dropdown Hide etc. Also you can define Classes for Dropdown from the options page.

Features:

  • Adds a text field to a widget for defining a class
  • You can specify multiple classes by putting a space between them
  • Optionally adds a dropdown menu with predefined classes instead of a text field
  • Optionally adds a text field to add an id to a widget
  • Adds first and last classes to the first and last widget instances in a sidebar
  • Adds even/odd classes to widgets
  • Adds number classes to widgets
  • Fully translatable
  • Multi-site compatible
  • Compatible with Widget Logic and Widget Context plugins
  • Has filters and hooks for customizing output including class names