Forum Replies Created
-
AuthorPosts
-
I managed to solve it!
I just copied the original functions.php and the regenerated the thumbnails using another plugin :)
Thank you for your patience and help :)
Thank you!
It was right before line 98! Now it works :)
I still can’t manage to change the size. I want the original size of the featured image (even though I think the cropping is off sometimes) How do I set the original sizes back?
I’ve tried regenerating thumbnails but it doesn’t work :(I tried adding the code but when I do that, it hid the featured image.
This is what I did:/*
* retrieve slider, title and content for this post,…
*/
$size = strpos($blog_style, ‘big’) ? (strpos($current_post[‘post_layout’], ‘sidebar’) !== false) ? ‘entry_with_sidebar’ : ‘entry_without_sidebar’ : ‘square’;if(!empty($avia_config[‘preview_mode’]) && !empty($avia_config[‘image_size’]) && $avia_config[‘preview_mode’] == ‘custom’) $size = $avia_config[‘image_size’];
$current_post[‘slider’] = featuredImgAttribution(); get_the_post_thumbnail ($current_post[‘the_id’], $size);if(is_single($initial_id) && get_post_meta( $current_post[‘the_id’], ‘_avia_hide_featured_image’, true) ) $current_post[‘slider’] = “”;
$current_post[‘title’] = get_the_title();
$current_post[‘content’] = $blog_content == “content” ? get_the_content(__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span>’) : get_the_excerpt();
$current_post[‘content’] = $blog_content == “excerpt_read_more” ? $current_post[‘content’].'<div class=”read-more-link”>‘.__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span></div>’ : $current_post[‘content’];
$current_post[‘before_content’] = “”;/*
- This reply was modified 9 years, 10 months ago by p_lo84.
Thank you!
It worked!
One last thing. I’m trying to use a plugin called featured image attribution. This is necessary for me when I use CC licensed pictures. According to the instructions, I need to insert the following:
You need to find the places in your theme’s template files where you use the Featured Image (you can probably accomplish this by searching for get_the_post_thumbnail and get post thumbnail throughout your theme). Then, right after your theme displays the Featured Image in those places, add this bit of code: <?php featuredImgAttribution(); ?>.
Where can I find the get_the_post_thumbnail code to insert this code?
Thank you so much for your help!
I found the culprit! Thank you for your help! :)
I see the code is for mobile. Tried it but nothing changes.
I encounter this problem while viewing the site on my computer. The icons get cut of or disappear completely depending on what part of the site I’m in. I tried resizing the window and they appear to later disappear again.Is there a way I can move these icons and put the under the logo instead? It would solve the problem and look nicer in my opinion.
- This reply was modified 9 years, 10 months ago by p_lo84.
Excerpt length: The code does not work. I copied it into the functions.php file.
Hide hover titles on images: This code did work! Thank you.
Social media icons: They are now enabled.
SEO issue: solved this one myself :)
Thank you for your help!
Image hover: I meant all the images but maybe it’s not possible.
Excerpt length: Where in the functions file do I put this code?
Social media icons: Any solution to this problem? They are now disabled in my site but they won’t show up in the first page. I have to have a Sticky menu bar otherwise the filter for the images won’t work properly.
SEO issue: Now I have encountered another issue. I have set a featured image on my static first page but this does not show up when I try to link the page in Facebook. My logo shows up instead. Any solution to this?
Thank you in advance!
I would also like to know how I can change the length of the excerpt. i’ve tried adding a filter and also the plugin Advanced Excerpt put nothing works.
This reply has been marked as private.January 3, 2015 at 2:00 am in reply to: Sidebar menu disappearing when having filter activated. #374368Thank you so much! It worked :)
December 30, 2014 at 1:07 am in reply to: Sidebar menu disappearing when having filter activated. #372949It’s already set to Never sticky. I’ve tried all 3 options.
December 30, 2014 at 12:30 am in reply to: Sidebar menu disappearing when having filter activated. #372934This reply has been marked as private.Thank you! Works perfectly now!
-
AuthorPosts