• Resolved tonyx4x44

    (@tonyx4x44)


    1. Is there a way to switch up the post layout in the homepage of the website? I want the featured image to appear under the title and metas, but above the excerpt.

    2. Is there a way to edit the home page metas? I want to remove “this was posted by” and just replace them with default icons… eg an author icon followed by author name, category icon followed by category, etc

    3. There is a thumbnail height limit for the front page that can really mess with pictures… ia there a way to set this to like dynamic where each photo has a different height depending on the size of the uploaded image?

    4. is there a way to replace featured images with featured posts?

    5. Can sticky header be turned off on mobile and kept on desktop?

    Any help is appreciated… Thanks in advance

    my site

    Thanks

Viewing 15 replies - 1 through 15 (of 24 total)
  • hi,
    Can we handle these one at a time?
    For no.1
    Make a copy of class-content-featured_pages.php to your child theme and change the order.

    Thread Starter tonyx4x44

    (@tonyx4x44)

    I found a way to fix number 5! yay

    Thread Starter tonyx4x44

    (@tonyx4x44)

    Yes Menaka… FOr number one I think you misunderstood me.. I’m not talking about the feature pages. I’m talking about the posts on the front page.

    From customise I set the image to be under the title and excerpt.

    I want the image to appear in between the title and the excerpt but there’s no option for that… that’s what I want to do

    Thanks

    Is that Alternate thumbnails layout?

    Thread Starter tonyx4x44

    (@tonyx4x44)

    yes it is

    Thread Starter tonyx4x44

    (@tonyx4x44)

    with thumbnail position set to bottom. now I want the thumbnail to be above the excerpt but under the title… sorry for sounding confusing earlier

    Thread Starter tonyx4x44

    (@tonyx4x44)

    Is it possible?

    Hi,
    that seems to be a little tricky. working on it.

    Thread Starter tonyx4x44

    (@tonyx4x44)

    thanks! I really appreciate your help

    Hi,
    Copy the class-content-post-list.php file from customizr theme and put it in the childthemefolder/inc/parts folder.

    Make the following changes.
    1. Comment the do_action line as shown below. Please search for the correct location in the tc_render_content_view function.

    <section class="tc-content <?php echo $_layout_class; ?>">
          <?php
            //do_action( '__before_content' ); //COMMENT THIS OUT.
    
              printf('<section class="%1$s">%2$s</section>',
                $_sub_class,
                $_content
    
              ); 
    
            do_action( '__after_content' );
        ?>
        </section>

    2. Add the do_action line here in the tc_render_section_view function. Also swap the two lines following.

    else if ( isset($_layout['show_thumb_first']) && ! $_layout['show_thumb_first'] ) {
            do_action('__before_content'); //ADD THIS LINE
            //AFTER SWAP THE TWO LINES APPEAR LIKE IT IS BELOW.
            TC_post_thumbnails::$instance -> tc_render_thumb_view( $_thumb_model , $_layout['thumb'] );
    		$this -> tc_render_content_view( $_content_model );
        }

    Thread Starter tonyx4x44

    (@tonyx4x44)

    hi menaka, please I don’t get the second part of the solution

    Thread Starter tonyx4x44

    (@tonyx4x44)

    I’ve tried a couple of times but I’m messing something up…

    please help with a edited copy of the complete tc_render_section_view function so i can just replace

    Thread Starter tonyx4x44

    (@tonyx4x44)

    Thanks a lot! it worked like a charm… thanks for your time

    Thread Starter tonyx4x44

    (@tonyx4x44)

    Any help on number 2?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Frontpage arrangement’ is closed to new replies.