Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1414522

    flysocal
    Participant

    Not really sure how I did this… but on the home page, when looking at the main blog index picture… each picture has a strange “S” on the lower left corner.

    Any idea how it got there and how to get rid of it?

    http://www.cruisingvolare.com

    Thank You

    #1414786

    Thai
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link login to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1415340

    flysocal
    Participant
    This reply has been marked as private.
    #1415995

    Friech
    Moderator

    Hi There,

    Thank you for the credentials, please look for this block from your child theme’s functions.php file.

    //hentry Remove Code
    add_filter( ‘post_class’, ‘remove_hentry_function’, 20 );function remove_hentry_function( $classes ) {if( ( $key = array_search( ‘hentry’, $classes ) ) !== false )unset( $classes[$key] );return $classes;
    }

    That code is using pretty-quotes [ ‘ ], please replace that with normal apostrophes [ ' ]

    If that does not solve the issue please do a testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the s remains. If it’s gone, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Let us know how it goes. Cheers!

    #1419580

    flysocal
    Participant

    I replaced that bit of code. No avail.
    I disabled all of my plug-ins also to no avail

    Thanks

    #1419884

    Friech
    Moderator

    Hi There,

    Please provide us FTP credentials in private reply so we can take a closer look.

    Thanks.

    #1420822

    flysocal
    Participant
    This reply has been marked as private.
    #1421137

    Lely
    Moderator

    Hi There,

    I did check again and your functions.php file as stated above has code with curly quotes. See attached screenshot.

    Update this part:

    //hentry Remove Code 
    add_filter( ‘post_class’, ‘remove_hentry_function’, 20 );function remove_hentry_function( $classes ) {if( ( $key = array_search( ‘hentry’, $classes ) ) !== false )unset( $classes[$key] );return $classes;
    }

    To this:

    //hentry Remove Code 
    add_filter( 'post_class', 'remove_hentry_function', 20 );function remove_hentry_function( $classes ) {if( ( $key = array_search( 'hentry', $classes ) ) !== false )unset( $classes[$key] );return $classes;
    }

    Although, letter s issue is coming from your content.php code on this folder themes\x-child\framework\views\ethos.See second screenshot showing the content of the file with the s.

    Hope this helps.

    #1424707

    flysocal
    Participant

    That got rid of the “S”… it was a typo in the content.php but now I have 2 issues.
    First, when I select any archive, I see nothing! It used to be in a 3 column wide grid that had a picture and a title on the picture only. Now nothing.
    Second, On the home page, it used to show a small picture and then a 40 word excerpt… now the picture is full width. How do I get the picture small again?

    Thank you,

    #1424738

    flysocal
    Participant

    Ok,
    The //hentry Remove Code was causing the archive not showing problem. I commented it out and now the archive pics show.

    But the second problem still exists.

    #1424923

    flysocal
    Participant

    With the issue I’m having; I’ve got blog index page set up as Standard, Use Global Content Layout, Full Post Content on Index set Off.

    The problem is I’m missing the small thumbnail picture that used to be there.
    If I go into CSS and remove this line;

    .x-ethos.blog .x-main .hentry>.entry-featured {
    display: none;

    a full size picture appears. How do I get all of the featured blog post images to display as a small thumbnail on the blog index page?

    Thanks

    #1424926

    flysocal
    Participant

    This issue is solved. Sorry to waste your time.
    This line of code was causing the small picture to disappear.

    .x-ethos.blog .x-main .hentry>.entry-featured,
    .x-ethos.blog .x-main .hentry.has-post-thumbnail>.entry-wrap {
    float: none;
    width: 100%;
    padding-left: 0;

    Not sure why…. and if you have any insight when you read this I’d appreciate the info. But otherwise, this issue is solved.

    Thanks

    #1424931

    Rue Nel
    Moderator

    Hello There,

    We are just glad that you have figured it out a way to correct the said issue.
    Thanks for letting us know!

    Best Regards.