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
- Restrict custom post type to only site administrator role
- How to force one column layout on custom post type edit page?
- Search multiple custom fields by using meta_query
- How to add multiple images to custom post type?
- Numbering sections and block-level elements in wpautop(); WordPress as CMS for long-form writing;
- get_edit_post_link() not working as expected when passed id in plugin
- How do I Make a custom post type get a custom post template in a plugin
- WordPress metabox file upload in custom post [duplicate]
- working Custom Post Type and Widget code no longer works when moved from functions.php to plugin
- remove_action conditionally for Custom Post Type
- Display posts in random post types
- Uploaded image not appearing in custom post type
- Excluding post type from WordPress link builder
- How to add notification in the sidebar of the administration panel when a Custom post type is created? [duplicate]
- 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
- How to have the right design for a custom post type without accessing themes
- Dynamic Custom Post Type Plugin
- different template for first and second level custom post page
- Remove All, Published and Trashed Post Views in Custom Post Type
- Get all of user’s custom post types in WP Admin for plugin
- WordPress if in term*
- Weird problem happening with custom taxonmy when creating/updating posts
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- Custom Post Type: Upload Multiple Images
- Conditional Query of Custom Post Type and custom taxonomy
- Getting template_include to work when allow_url_include is off?
- WordPress post_where & posts_join not working only for custom post type
- Structure of data : CPT + terms
- Custom Permalink to remove category word , keeping posts permalink with date?
- Default text in a specific post type, but not visible?
- How to remove post listing page for a custom post type
- How to include term custom meta into the custom taxonomy term permalink structure
- Adding a metabox on a CPT’s submenu page
- Ordering Submenu Pages in WP 3.1
- How to customize work area / admin area in a custom post type without plugins?
- ACF in wordpress
- Theme independent plugin by using default page template
- Move Genesis Single Page/Single Post Title
- Custom post type’s posts are not showing anywere but in xml sitemap
- Unable to format dates to put in event calendar
- Only show columns in custom post type?
- Dynamic assign a custom template to custom post type posts
- Display Custom Post Types Glossary
- One Site. One Theme. Multiple Stylesheets without plugins?
- Custom post type in Custom widget – $listItem
- Generating and downloading files with WP API
- How should I structure complex content hierarchies?
- Problems making shortcode with custom post types and taxonomy
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Limit Amount of Pages users can create in Custom Post Types
- WP 3.1 custom post type permlinks
- Placing Admin Post Metaboxes in Tabs
- Wp Meta Query does not work while simple Query Works
- Check if theme supports sidebar
- Why is my custom post content only viewable when signed into WordPress?
- How to add a default predefined thumbnail when creating a brand new post?
- Create a post automatically if search result has zero results
- Querying posts that don’t have a certain key value or don’t have the key
- Custom Post Type Front Page Gives 404
- How to add custom supports for custom post types?
- get_permalink() of page the enclosing page not posts
- Run query on specific admin options page and send results to select field in another function
- Not able to get all the actions (View, Edit, Quick Edit, Trash), and not able to delete post in custom post type
- WP_Query doesn’t accept Category ID
- Error in WP Query. If variable is empty it is displaying previous post value
- Custom post type not being pulled in widget
- Issue on Counting CPT’s Under Taxonomy Term
- Custom post type adding additional markup
- Don’t display post if post has empty body
- How to make a template for a specific post of a custom post type?
- Woocommerce product page is not showing custom css [closed]
- Bulk update custom post types
- ACF select box css color change
- Delete old thumbnail when updating new
- Issue displaying multiple TinyMCE editors with WPAlchemy
- How to consume external API from WordPress post editor and display the response data in the custom field?