Linux 软件免费装
Banner图

Easy Sitemap

开发者 snowbedding
更新时间 2025年11月11日 19:48
PHP版本: 7.2 及以上
WordPress版本: 6.8
版权: GPLv2+
版权网址: 版权信息

标签

seo shortcode navigation sitemap html sitemap

下载

2.0.0

详情介绍:

Easy Sitemap is a powerful WordPress plugin that creates comprehensive HTML sitemaps for your website. With modern PSR-4 autoloading and clean OOP architecture, it provides flexible content organization and optimal performance through intelligent caching. ✨ Key Features 🚀 Shortcodes 📋 Shortcode Attributes Basic Attributes: 🔧 Admin Features

安装:

  1. Upload the plugin files to /wp-content/plugins/easy-sitemap/
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to Settings → Easy Sitemap to configure options
  4. Use the Shortcode Generator or add shortcodes manually to your pages

屏幕截图:

  • Shortcode Generator
  • All Supported Attributes

升级注意事项:

2.0.0 This major update includes a complete architecture rewrite with modern PSR-4 autoloading, intelligent caching, and comprehensive filtering options. We recommend exploring the new visual shortcode generator for enhanced functionality.

常见问题:

How do I create a sitemap page?

  1. Create a new page in WordPress (Pages → Add New)
  2. Add the shortcode [easy_sitemap] to the page content
  3. Publish the page

How do I use the Shortcode Generator?

  1. Go to Settings → Easy Sitemap
  2. Use the "Build your shortcode" section at the top
  3. Select your desired options (post type, limit, display options, etc.)
  4. The shortcode will be generated automatically
  5. Click "Copy Shortcode" or select and copy manually
  6. Paste into any page or post

Does it support custom post types?

Yes! The plugin automatically supports all public custom post types. Use the post_type attribute: [easy_sitemap post_type="product"] [easy_sitemap post_type="portfolio"] [easy_sitemap post_type="event"]

How does the caching system work?

The plugin uses WordPress transients for efficient caching:

  • Only caches output for non-logged-in users (guests) to ensure dynamic content for logged-in users
  • Cache keys are generated from shortcode attributes and content parameters for uniqueness
  • Default cache expiry is 1 hour (3600 seconds), configurable from 5 minutes to 24 hours (300-86400 seconds)
  • Configure global cache settings in Settings → Easy Sitemap
  • Override global settings per shortcode with cache="0" to disable caching for dynamic content
  • Automatic cache clearing on plugin deactivation

Can I customize the appearance?

Yes! Multiple customization options:

  1. Custom CSS: Add styles in Settings → Easy Sitemap → Custom CSS
  2. CSS Classes: Use the class attribute for custom styling
  3. Responsive: All layouts are mobile-friendly by default
Common CSS selectors:
  • .easy-sitemap - Main wrapper
  • .easy-sitemap-list - List container
  • .easy-sitemap-item - Individual items
  • .easy-sitemap-date - Date display
  • .easy-sitemap-excerpt - Excerpt text
  • .easy-sitemap-image - Featured images

How do I filter content?

Use various filtering attributes: [easy_sitemap post_type="post" category="news,blog"] [easy_sitemap author="1" date_from="2023-01-01"] [easy_sitemap tag="featured" show_images="1"] [easy_sitemap taxonomy="product_cat" term="electronics"]

Does it work with WooCommerce?

Yes! Full WooCommerce support:

  • Product sitemaps: [easy_sitemap post_type="product"]
  • Product category filtering: taxonomy="product_cat" term="category-slug"
  • Product tag filtering: taxonomy="product_tag" term="tag-slug"
  • Featured images display for products

更新日志:

2.0.0 1.0