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
- Is it ever okay to include inline CSS in plugins?
- WP 3.1 – archive pages for custom content types possible now without a plugin?
- modify all posts of a category to “no comments allowed”
- Is flush_rewrite_rules necessary when creating a custom post type? Why?
- How to not allow custom roles to edit published custom post types?
- Assign Page Template Within A Custom Post Type
- Single Page WordPress CSS and JS links
- Unable to filter on field on edit.php page
- [Plugin: Posts 2 Posts] Changing display order of connections
- How do you use JavaScript to detect the homepage
- Error after deleting Custom Post Type with a function (no trash used)
- Using posts and postmeta table to store custom Address Book Plugin data
- How to delete all posts from a custom post type?
- Saving repeated option values in a custom query
- handling csv data with a custom post type
- How to customize admin posts based on the user who is logged in
- apply filters only to specific post listing without check the url parameters
- Dynamically add / duplicate custom meta in custom post types
- Custom Post Type rewrite
- Admin notice not displaying
- How can I create a custom meta box to add an mp4 video to a page?
- Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade
- Insert Multiple Post with Same Publish Button
- custom post type not showing in menu
- Adding a custom post type taxonomy template in plugin
- Define new user capability for custom post types?
- Getting meta in editor plugin, and event triggering issue
- How to handle paged param in post and custom-post-type?
- Shortcode to display Staff post type based on Location post type and Specialty post type
- How to add attributes to taxonomies that may be different from post to post?
- Deleting taxonomy terms and relationships on a custom post_type when a user is deleted
- How does order=asc effect a wp_query (its acting pretty weird in a loop)
- Custom fields for custom post type
- How to sort posts in a custom post type by title in ascending order by default?
- Save Multiple Metabox values
- Custom post type editor uses old tinyMCE
- What’s an efficient way to change the post status of many posts at once?
- How exclude or skip post type with get_next_post_link
- WordPress Count posts within a custom post type
- Custom Post Types and Removing Slugs – should we do it?
- Types plugin custom post add_action hooks
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- Custom post type tags not showing in search
- How to list posts by term (custom taxonomy)
- Custom Post Type Implementation
- Related “custom post type” using “custom taxonomy”
- Not Able to Add New Class To CPT Attachment Image
- How do I disable the built-in editor and automatically configure the properties of new pages?
- How to have multiple search result pages in wordpress with taxonomy terms listed
- Orderby custom fields is not working
- How to stop the custom post type URL from the google search?
- How to limit the number of custom posts certain users can publish in WordPress using php script?
- Changing CPT permalink
- Custom page for creating/editing custom post type
- What is WordPress Way to Add Content Blocks to Post and Reference them as Many to One Relationship?
- Warning , Use of undefined constant PLUGIN_PATH?
- Displaying posts inside table having issues
- Error when moving custom post type to bin
- Admin metabox with custom post type dropdown option not update choosed input after saving
- Having issue on Loading Meta Data From CSV to CPT
- Building Link List for Custom Tax
- In the admin, how can you list thumbnails instead of titles for a custom post type?
- php output of generated custom metabox
- creating a custom post template
- Can’t save custom post type fields
- Cant edit custom post type in WordPress dashboard
- Shortcode error
- Advanced Custom Fields – Add Field to Specific Page [closed]
- Get term_id for each instance of custom taxonomy
- How to internationalize the sub menu name “categories” in Custom post type?
- Make title field multiline in the add new custom post page?
- Multiple search template with separate stylesheets
- Inserting two categories
- How to delete unnecessary custom post types in the UI
- WordPress custom post type odd and even styling [duplicate]
- How to change post cpt with submit button?
- Custom Post Type featured option