Guest User

Untitled

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