Wordpress article plug-in WordPress Related Posts installation and deletion

Source: Internet
Author: User
Tags php file

[Plug-in features]

1. The number of related articles can be customized.
2. Only logs of the specified category are displayed.
3. The number of comments and release date can be displayed.
4. You can customize whether to display the summary and summary length.
5. You can customize whether to display thumbnails of related logs.

[Plug-in installation]

Download the plugin, decompress it, upload it to the/wp-content/plugins/directory, and activate it in the WP background.

1. Background search plug-in

For example, to install the Link Manager plug-in, enter wordpress management background => plug-in => install plug-in = and search for "Link Manager" = "to install it now.

2. Backend Upload zip plugin

Some plug-ins are not included in the WordPress official plug-in Directory (http://wordpress.org/extend/plugins), we can only go to the plug-in author's blog, download the plug-in zip package, and then you can through the background plug-in Directory upload function, upload and activate the plug-in.

3. Upload The plug-in through ftp

You can also use the ftp tool (flashfxp or Filezilla) to connect to your web space and upload the plug-in directory to/public_html/wp-content/plugins. After uploading, log on to the management background and click the plug-in template. You can see that the uploaded plug-in is already in the disabled list.
Click Enable.

The following code is added to the plug-in where you want to display relevant articles:

<? Php wp_related_posts () ;?>

[Plug-in configuration]

In the WP background-set-Related Posts, enter the plug-in Control Panel, as shown in the figure below:

Configure parameters as needed.

Delete WordPress article plug-ins

Go to the "plugin" in the WordPress background, find the "WordPress Related Posts" plugin, disable it, and delete it.

However, you will find that the article page you inserted with "Related articles" cannot be fully opened, because after the WordPress Related Posts plug-in is installed, you need to add a <? Php wp_related_posts () ;?> Code statement to call

Therefore, please go to the single. Php file in the article template and find <? Php wp_related_posts () ;?> Delete it and save it.

Refresh the page to see if the page is faster and then restored.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.