TODO: To change the header's content go to Dr.Explain menu Options : Project Settings : HTML (CHM) Export : Setup HTML Template and Layout
×
Menu
Index

Tùy biến nâng cao

-Loại bỏ stylesheets mặc định trong plugin yarpp. Chèn vào functions.php của theme hiện tại.
add_action('wp_print_styles','lm_dequeue_header_styles');
function lm_dequeue_header_styles()
{
  wp_dequeue_style('yarppWidgetCss');
   wp_deregister_style('yarppRelatedCss');
}
 
add_action('get_footer','lm_dequeue_footer_styles');
function lm_dequeue_footer_styles()
{
  wp_dequeue_style('yarppRelatedCss');
}
 
- Thay đổi hiển thị với CSS, đoạn css sau thay thế giá trị mặc định:
/* Reduces the title font size and displays more than two title lines */
.yarpp-thumbnail {height: 200px !important;}
.yarpp-thumbnail-title {font-size:0.8em !important; max-height: 4em !important}
 
/* Centers the thumbnail section */
.yarpp-related-widget {text-align:center !important;}
 
API:
Made with help of Dr.Explain

Unregistered version