WordPress plugin intelligence profile

Custom Posts Accordion

This plugin creates Bootstrap accordion form custom posts.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.3
Current version1.0.0
WordPress coverageTested up to WordPress 5.3
Minimum stackWP 4.9.8 · PHP —
Directory statusactive
Last directory update3 Feb 20206y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Custom Posts Accordion version 1.0.0 as active, updated 6y ago and tested up to WordPress 5.3.

Overview

About this plugin

This plugin creates a basic accordion from custom posts.

Fully compatible with WPML, just translate your posts and use shortcodes as explained below.

The plugin currently does not support Woocommerce.

How to use

  • To use this plugin you need custom post registered.

You may check Post Types to see how to do it.

php

add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'Accordion', array( 'labels' => array( 'name' => __( 'Accordions' ), 'singular_name' => __( 'Accordion' ) ), 'public' => true, 'has_archive' => true, ) ); }

  • Add shortcode to page or post where you want to use accordion

If you used code above to create custom posts type you would use following shortcode:

[gw_accordion post_type="Accordion"]

Optionally, you may add CSS class

[gw_accordion post_type="Accordion" class="my_css_class"]

You can also add code to your theme

>

or with the CSS class

>

You also may set ordering, default is by ID and Ascending (ASC)

[gw_accordion post_type=”Accordion” class=”my_css_class” order_by=”title” order=”asc”]

Demo

  • Check Demo

Known Issues

If your theme uses smooth scroll script like this one

length? top }, 2000); return false; } }

});

});

You may need to change this line

jQuery('a[href*="#"]:not([href="#"]')

To look like this

jQuery('a[href*="#"]:not([href="#"], a:not([data-toggle])')

to avoid conflict

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • custom post
  • accordion
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.3
Minimum requirementsWordPress 4.9.8 · PHP not listed
Update activity3 Feb 20206y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.