Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Featured image resize and alignment

Discussion in 'Misc WordPress Requests' started by Sami Sanpakkila, Feb 2, 2018.

  1. Sami Sanpakkila


    Reply To: Featured image resize and alignment, by Sami Sanpakkila

    It looks like this. Nothing we tried to add had any effect.


    // Custom Child Theme Functions

    // I've included a "commented out" sample function below that'll add a home link to your menu
    // More ideas can be found on "A Guide To Customizing The Thematic Theme Framework"
    // http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/

    // Adds a home link to your menu
    // http://codex.wordpress.org/Template_Tags/wp_page_menu
    //function childtheme_menu_args($args) {
    // $args = array(
    // 'show_home' => 'Home',
    // 'sort_column' => 'menu_order',
    // 'menu_class' => 'menu',
    // 'echo' => true
    // );
    // return $args;
    add_theme_support('post-formats', array('gallery', 'image', 'video', 'audio'));

    function excerpt_ellipse($text) {
    return str_replace('[...]', ' <a href="'.get_permalink().'">Read more...</a>', $text);
    add_filter('the_excerpt', 'excerpt_ellipse');

    function childtheme_content($content) {
    if ( is_home () ) {
    $content= 'excerpt';}
    return $content;
    add_filter('thematic_content', 'childtheme_content');


    Reply To: Featured image resize and alignment

Share This Page

Monarch Social Sharing Plugin