Guest User

Untitled

a guest
Jun 19th, 2015
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. function td_quote_center($atts, $content = null) {
  2. return '<blockquote><p>' . $content . '</p></blockquote>' ;
  3. }
  4. add_shortcode('quote_center', 'td_quote_center');
  5.  
  6.  
  7. function td_quote_right($atts, $content = null) {
  8. return '<blockquote class="td_quote td_quote_right"><p>' . $content . '</p></blockquote>' ;
  9. }
  10. add_shortcode('quote_right', 'td_quote_right');
  11.  
  12.  
  13. function td_quote_left($atts, $content = null) {
  14. return '<blockquote class="td_quote td_quote_left"><p>' . $content . '</p></blockquote>' ;
  15. }
  16. add_shortcode('quote_left', 'td_quote_left');
  17.  
  18.  
  19. function td_quote_box_center($atts, $content = null) {
  20. return '<blockquote class="td_quote_box td_box_center"><p>' . $content . '</p></blockquote>' ;
  21. }
  22. add_shortcode('quote_box_center', 'td_quote_box_center');
  23.  
  24.  
  25. function td_quote_box_left($atts, $content = null) {
  26. return '<blockquote class="td_quote_box td_box_left"><p>' . $content . '</p></blockquote>' ;
  27. }
  28. add_shortcode('quote_box_left', 'td_quote_box_left');
  29.  
  30.  
  31. function td_quote_box_right($atts, $content = null) {
  32. return '<blockquote class="td_quote_box td_box_right"><p>' . $content . '</p></blockquote>' ;
  33. }
  34. add_shortcode('quote_box_right', 'td_quote_box_right');
  35.  
  36.  
  37. function td_pull_quote_center($atts, $content = null) {
  38. return '<blockquote class="td_pull_quote td_pull_center"><p>' . $content . '</p></blockquote>' ;
  39. }
  40. add_shortcode('pull_quote_center', 'td_pull_quote_center');
  41.  
  42.  
  43. function td_pull_quote_left($atts, $content = null) {
  44. return '<blockquote class="td_pull_quote td_pull_left"><p>' . $content . '</p></blockquote>' ;
  45. }
  46. add_shortcode('pull_quote_left', 'td_pull_quote_left');
  47.  
  48.  
  49. function td_pull_quote_right($atts, $content = null) {
  50. return '<blockquote class="td_pull_quote td_pull_right"><p>' . $content . '</p></blockquote>' ;
  51. }
  52. add_shortcode('pull_quote_right', 'td_pull_quote_right');
Advertisement
Add Comment
Please, Sign In to add comment