-
AuthorPosts
-
April 16, 2019 at 1:06 pm #1091411
Hello, I’m using advanced blog editor and I’having couple of problems with it.
1 – In the blog page I can’see the resume+read more link (I only see read more link) even if set in the ‘article element’ options.
2 – In the single article, I can’t see the featured image at the top of the article as set in ‘featured image options’ “show on the single entry”
can you help?
thanks
MimmoApril 17, 2019 at 5:27 am #1091753Hi Mimmo,
Are you using the Layout Editor to create your posts? If so then you need to add both the excerpt and featured image manually to the post. If you don’t see the excerpt field then please select to show it under Screen Options in the top right hand corner.
Best regards,
RikardApril 17, 2019 at 12:29 pm #1091969Hi Rikard,
yes using layout editor, thanks for the help.
I have other two questions
– How do I show the category in a single post?
– In the Archive page how do I hide the voice ‘comment’ and ‘author’ and show the featured image (small)?
in general does exist a way to set the archive page?
thanks
MimmoApril 22, 2019 at 2:31 am #1093207Hi,
Thanks for the update.
1.) You’ll have to add it manually in a code/text block, or add it as a shortcode or as another builder element as shown in the following thread.
If you don’t want to create another builder element, just add this shortcode.
2.) You can hide those info by toggling the options in the Enfold > Blog Layout > Blog meta elements settings. You can also use a custom css code. We’ll have to inspect the actual blog page so that we can see the current blog style and provide the appropriate css code.
Best regards,
IsmaelApril 30, 2019 at 4:19 pm #1095812hi,
point 1 almost solved now I can see what I want in the single post, I followed the suggestion to modify functions.php in child theme, but than I lost some of the theme options like fav, logo, font, socket and footer colors. Do I have to reset again?point 2 , the meta options in the blog layout don’t work.
thanksMay 1, 2019 at 2:06 pm #1096178Hi,
Which code did you add exactly and where? We will have to be able to see and reproduce the problem in order to help you out.
Best regards,
RikardMay 2, 2019 at 10:22 am #1096413hi,
here is the short code, added in Theme Enfold/child > functions.php
<?php/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/function post_title_shortcode(){
global $post;
return get_the_title($post->ID);
}
add_shortcode( ‘sc_post_title’, ‘post_title_shortcode’ );function post_date_shortcode(){
global $post;
return get_the_date(‘Y-m-d’, $post->ID);
}
add_shortcode( ‘sc_post_date’, ‘post_date_shortcode’ );
function post_category_shortcode(){
global $post;
$categories = get_the_category($post->ID);
$separator = ‘ ‘;
$output = ”;
if ( ! empty( $categories ) ) {
foreach( $categories as $category ) {
$output .= ‘term_id ) ) . ‘” alt=”‘ . esc_attr( sprintf( __( ‘View all posts in %s’, ‘textdomain’ ), $category->name ) ) . ‘”>’ . esc_html( $category->name ) . ‘‘ . $separator;
}}
return trim( $output, $separator );
}
add_shortcode( ‘sc_post_category’, ‘post_category_shortcode’ );May 5, 2019 at 8:45 pm #1097495Hi,
Thanks for the update.
That code should should not have affected the theme options. Are you sure that you didn’t do anything else?
Best regards,
IsmaelMay 6, 2019 at 2:22 pm #1097686Hi, yes I just added the code and nothing else.
MimmoMay 7, 2019 at 5:07 am #1097924Hi,
Alright. Can we access the dashboard? Please provide the login details in the private field.
Best regards,
IsmaelMay 7, 2019 at 2:16 pm #1098078This reply has been marked as private.May 13, 2019 at 1:49 am #1099864Hi,
Thanks for the update.
There are no published pages in the site. Anyway, we don’t encounter any issue in saving the theme options, but we can’t revert the lost or previous options back. Please create a backup or a restore point next time. You can also export the theme options in the Enfold > Import/Export panel in case something like this happens again.
Best regards,
IsmaelMay 13, 2019 at 12:41 pm #1100027Hi, pages were in draft. Anyway, pages and articles are published now, the settings are almost ok, the missing things are:
– Blog page, all the articles show the right title, but the text is still the lorem ipsum text I used in designing the layout. Note that when designing the layout the titles were false text too, once I uploaded the right text, the blog page shows the right title, but that doesn’t happen with the text of the article.
– Archive page, (when I click on the category in the article page) I don’t see the featured image, and I still see author and comment tag even if in blog settings option they are disabled. In the Archive I would like to see only the date.Thiese seems to be the only and last things to fix.
Thanks for the supportMay 13, 2019 at 1:00 pm #1100029Sorry, fixed the point 1. and fixed hiding the comments in the archive page.
the only thing left to set is the featured image that has to be shown, and the author to be hide, in the archive page.
thanks.May 13, 2019 at 4:08 pm #1100139Hi,
Thanks for the update.
Did you select or set the blog page in theme options? You have set the blog page there and reset the Settings > Reading options to default. After setting the blog page in the theme options, go to the Blog Layout panel and configure the blog settings.
Best regards,
IsmaelMay 13, 2019 at 5:04 pm #1100166Hi, sorry but I don’t see any reading options in the theme options.
What I have done now is to export actual theme settings, so if something happens I can reset as it is now, right?. Is there any way to send you a screenshot so to show you what I see?
thanks
mimmoMay 14, 2019 at 8:31 am #1100411Hi mforlano,
You can upload the image to a service like https://imgur.com/upload and give us the link here.
Best regards,
VictoriaMay 14, 2019 at 10:58 am #1100454May 16, 2019 at 8:29 am #1101328Hi mforlano,
https://imgur.com/a/YuGJoq2 The reading options are in the general WP settings menu.
Best regards,
VictoriaMay 16, 2019 at 10:22 am #1101376Hi Victoria,
I am very sorry, but I got lost, found and done all said in this chat, but nothing change. At the moment the thing I need is to see the featured image post in the archive page and not to see the author in archive page
thanks for the helpMay 20, 2019 at 3:28 am #1102350Hi,
Thanks for the update.
This filter should help change the layout of the archive page and display the featured images back.
//change category page layout to blog single big style add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-big'; return $layout; }
Best regards,
IsmaelMay 20, 2019 at 11:34 am #1102446hi, it has to be added in Theme Enfold/child > functions.php?
thanks
MimmoMay 21, 2019 at 4:04 am #1102661Hi,
Yes, that should be added in the functions.php file.
You should create a child theme if the site is not using one, yet.
// https://kriesi.at/documentation/enfold/child-theme/
Best regards,
IsmaelMay 21, 2019 at 12:32 pm #1102832hi,
ok it works, the only thing left to fit is that I don’t want to see the author of the article in the archive page.
It is still visible even if in the blog options is desabled.
thanks a lot
MimmoMay 22, 2019 at 2:27 pm #1103281Hi mforlano,
Please try the following css:
.blog-author.minor-meta { display: none; }
Best regards,
VictoriaMay 22, 2019 at 2:48 pm #1103298Perfect!
thanks a lot
MimmoMay 22, 2019 at 3:25 pm #1103326Hi,
Did you need further help with this or shall we close this topic?
Best regards,
Jordan ShannonMay 22, 2019 at 3:30 pm #1103333Can close it, thanks
May 22, 2019 at 3:40 pm #1103352Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Blog setting’ is closed to new replies.