you can create shortcode for that
1.make a shortcode unsing add_shortcode(functions.php)
add_shortcode('bquote','ravs_blockquotes_func')
function ravs_blockquotes_func( $atts, $content="" ) {
extract( shortcode_atts( array(
'style' => 'style1'
), $atts ) );
return '<blockquote class="'.$style.'">'.$content.'</blockquote>'
}
2.now just simply define quote in shortcode(post or page editer)
[bquote style="style2"]your quote[/bquote]
it’s output in html like
<blockquote class="style2">your quote</blockquote>
3.create as many as class for blockquote style you want.it’s easy to use and understand.
Important Link:
Related Posts:
- Redirect after deleting post and keep track of pagination
- Remove POST_TYPE from custom post type permalink
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- Custom Post Type | Fatal Error on register_post_type()
- Custom post type and body_class: Remove “blog” class
- Get rewrite slug of custom post type in template
- How to customize a permalink (URL) structure?
- Plugin: register custom post types, child ready and performance best practices
- How to use TinyMCE Editor for one of my custom post meta field?
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- Redirect to another page using contact form 7? [closed]
- How to insert data into meta box from another plugin?
- Convert Custom Table Data Based Plugin To Be Searchable
- Is there a (preferable built-in) way to check what custom queries are used in a theme?
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
- custom post type and user post count shortcode
- Change Background Color For CPT Template
- Registering an optional custom post type from a plugin
- Add category slug as class attribute in a link array
- Add Excerpt On Quicksand Plugin
- How to apply order on custom taxonomy and custom meta key on custom post type
- Set a Custom Post Type as a Homepage
- How to show metabox in custom php menu page
- How could I create a ‘private comments’ section on a custom post type?
- Should I use Custom Post Types or something else
- Community and User Generated Content Website: Have been thinking about Drupal but leaning on WordPress heavily
- WP 3.1 getting tax_query to work in query_posts()
- wp_get_nav_menu_items wp-admin/customize.php problem
- How to get Custom Post ID by adding filter to child theme’s function
- Custom Post Type get_post_type_archive_link( $post_type ) returns false
- Custom Post Type Alerts
- Impossible to get Attachments Outside WordPress?
- How do I set the link in the Custom Post Type admin menu?
- How to List Thumbnails based on Custom Categories
- Programmatically adding posts
- Keep main articles and author blogs seprerate, News / Magazine like site
- Related links – from other sites
- Extend the wp_get_archives output with ‘?post_type=foo’?
- Why is my custom loop not filtering correctly nor paginating?
- Sub-Sub-Blogs — creating and importing content into a custom sub-type
- Custom post types with custom directories
- Saving repeated option values in a custom query
- Adding Meta Boxes while Registering a Post Type in a Class
- Check Title Unique Or Not and If not error message and dont save
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- How to have the right design for a custom post type without accessing themes
- Dynamic Custom Post Type Plugin
- How to rename image at uploading on specific plugin or post-type in WordPress
- handling csv data with a custom post type
- Add the current menu item CSS class to a custom page type archive in WordPress menu
- How do I alter the position of a Custom Post Type menu item within my plugin admin menu?
- Customize permalink when creating a post
- different template for first and second level custom post page
- How does the $post_type global variable work?
- Custom Taxonomy Not Showing in Menu
- Remove All, Published and Trashed Post Views in Custom Post Type
- How to customize admin posts based on the user who is logged in
- Set object terms not working on plugin activation
- Custom Post Type, Saving Multiple Checkboxes
- Using custom page templates with plugin [duplicate]
- How can I display custom post types under multiple views?
- need advice on how to do a lists using custom post types – taxonomy vs postmeta
- How to post twitter like updates on wordpress
- Show Two custom Post type and their posts on category page
- Change post featured image on hover
- How to get all `supports` attributes by post type?
- How to create an advanced filter search?
- Custom search for custom post meta with pre_get_posts interferes with WP search
- Get all of user’s custom post types in WP Admin for plugin
- Issue with pre_get_posts on custom post type archive pages
- Assigning the same custom meta box to multiple post types
- Custom Post Type Navigation on Custom Field
- apply filters only to specific post listing without check the url parameters
- Dynamically add / duplicate custom meta in custom post types
- WordPress if in term*
- Add TinyMCE to CPT metaboxes in 3.1?
- Setting posts per page in query_posts
- How to insert content from another Custom Post type into Post?
- Plugin translation not working apart from name and description
- Weird problem happening with custom taxonmy when creating/updating posts
- Placeholder in HTML editor text area?
- Custom Post Type rewrite
- Deleting Custom Post type data using mySQL command
- Admin notice not displaying
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- How can I create a custom meta box to add an mp4 video to a page?
- Custom Post Type: Upload Multiple Images
- Delete link on single-custom.php with redirection
- How to structure a site with product variations pages?
- Detect where custom post type is declared
- CPT: if more than X images are in post, use pagination
- Metadata for a taxonomy – is there any WordPress way of doing this?
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Getting rid of /my_custom_post_type/ in the single view URL
- Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade
- Custom Post Type – List all attachments on Edit Screen
- Hook to override title, image and content
- Insert Multiple Post with Same Publish Button
- Why is conditionally loading a custom plugin’s code only on a specific custom post type causing the site content to disappear?