- This topic has 3 replies, 2 voices, and was last updated 7 years, 8 months ago by Hash.
- AuthorPosts
- September 21, 2016 at 5:56 pm #727zafonParticipant
Hi,
I have a problem, Can i put image in Featured Section – is it possible?
secund question – if i want add button (graphic not marker “more”) Featured Section – is it possible?
Ty for help – sorry for languageNice work Hashthemes!
September 22, 2016 at 12:29 am #729HashKeymasterSorry both are not possible without customization.
We can customize the theme to add image and read more button for the paid customization if you want.
September 24, 2016 at 4:25 pm #734zafonParticipantI’m appriciate your work, unfortunetly i don’t have money to paid for customization (I’m just a beginner 🙂 )
i have a question – files responsible for change featured section is front-page.php, functions.php and customizer.php (if want change editor panel)
front-page.php
$square_featured_page_id = get_theme_mod('square_featured_page'.$i, $square_page ); $square_featured_page_icon = get_theme_mod('square_featured_page_icon'.$i, 'fa-bell');
and i must write
$square_featured_page_image = get_theme_mod('square_featured_image'.$i, $square_page );
and add code into functions.php
add_theme_support( 'post-thumbnails'); add_image_size( 'square-about-thumb', 400, 420, true ); add_image_size( 'square-blog-thumb', 800, 420, true );
Now it shows feature image, but it’s not large enough to fill the cover (div.sq-featured-post.sq-featured-post1)
Sorry for trouble and have nice a day.
September 25, 2016 at 9:25 pm #736HashKeymasterI don’t think it will still show the featured image.
The code $square_featured_page_image = get_theme_mod(‘square_featured_image’.$i, $square_page ); does not print out the image.
The featured image of the page can be displayed by using the code the_post_thumbnail();
You don’t need to add code in the customzer.php file.And to convert the plus sign in to graphic button, you need to add the text “Read More” instead of plus sign and then add the css to convert it in to button.
I hope this will help you.
- AuthorPosts
- You must be logged in to reply to this topic.