Tagged: x
-
AuthorPosts
-
March 20, 2017 at 9:33 pm #1414522
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?
Thank You
March 21, 2017 at 6:29 am #1414786Hi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
March 21, 2017 at 1:49 pm #1415340This reply has been marked as private.March 22, 2017 at 4:30 am #1415995Hi 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!
March 24, 2017 at 5:03 pm #1419580I replaced that bit of code. No avail.
I disabled all of my plug-ins also to no availThanks
March 25, 2017 at 1:46 am #1419884Hi There,
Please provide us FTP credentials in private reply so we can take a closer look.
Thanks.
March 26, 2017 at 2:33 pm #1420822This reply has been marked as private.March 26, 2017 at 10:38 pm #1421137Hi 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.
March 29, 2017 at 6:03 pm #1424707That 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,
March 29, 2017 at 7:35 pm #1424738Ok,
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.
March 29, 2017 at 10:08 pm #1424923With 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
March 29, 2017 at 10:13 pm #1424926This 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
March 29, 2017 at 10:19 pm #1424931Hello 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.
-
AuthorPosts