Linux 软件免费装

The Loops

开发者 sorich87
saymar90
justinahinon
更新时间 2019年6月27日 06:07
PHP版本: 5.6 及以上
WordPress版本: 5.2
版权: GPLv2 or later
版权网址: 版权信息

标签

widget posts pages shortcode custom post types users the loop tloops

下载

0.1 0.2 0.3 0.3.1 0.4 1.0.0 1.0.1 1.0.2

详情介绍:

The Loops plugin offers you great flexibility for displaying your site content and users list. It provides a graphical user interface in your WordPress site admin that allows you to query the database for content without having to write any PHP code or SQL queries. With this plugin, you can display the queried content in a page or post (using shortcodes) or a widget. Check out my other free plugins. Features Contributors Contributors are listed here Notes For feature request and bug reports, please use the forums. If you are a plugin developer, we would like to hear from you. Any contribution would be very welcome.

安装:

  1. Go to the \'Add New\' plugins screen in your WordPress admin area
  2. Search for \'The Loops\'
  3. Click \'Install Now\' and activate the plugin
  4. Go the \'Loops\' menu under \'Appearance\'

屏幕截图:

  • Loops edit screen
  • Loops edit screen
  • Loops edit screen

升级注意事项:

1.0.2 Bug fix. 1.0.1 Bug fix. 1.0.0 New feature: filter hook for other plugins to add template directories. 0.4 New feature: loops of users. 0.3 This version supports all the wordpress post query possibilities and an improved template structure. It is not backward compatible with the previous versions. Check your loops after upgrading. 0.2 New features: custom templates & query by author. 0.1 First release.

常见问题:

How to use?

Click on the \'Loops\' link in the \'Appearance\' menu, click \'Add New\' to add a new loop. Use the shortcode provided or go to the widgets screen to add the loop to a sidebar.

How to add custom templates?

Copy a default template file from the directory \'tl-templates\' in the plugin directory to your theme directory. Then feel free to modify it to your liking! Copy a default template file from the directory \'tl-templates\' in the plugin directory to your theme directory. Then feel free to modify it to your liking! The template\'s header must contain the line: * The Loops Template: List of excerpts

How to add register custom templates directories ?

Use a function hooked on filter \"tl_templates_directories\" eg. add_filter(\'tl_templates_directories\',my_plugin_tl_templates_directory); function my_plugin_tl_templates_directory($directories){ $directories[]=MYPLUGIN_ABSOLUTE_DIR; //change this to the absolute directory you want to be checked for templates return $directories; } The Loops will then check in MYPLUGIN_ABSOLUTE_DIR if there is valid templates which it can use; and they will be available through The Loops options.

更新日志:

1.0.2 1.0.1 1.0.0 0.4 0.3 0.2 0.1