Forum Replies Created
-
AuthorPosts
-
I was also getting the same error, I updated the theme using FTP access (so manually) and I was able to load the 4.5 version and everything seems to be normal now.
Maybe it’s something that you can try =]
Thank you so much, Mike, that worked like a charm for both things!!
You are the best!Thank you SO MUCH, Mike!
That worked like a charm! I restored the file added the function and the categories are exactly where I needed them to be! Thank you so much again =]
Thank you so much for your help.
I tried the fix but when I implement it, my post titles disappeared, I played with the code Victoria changed and I managed to erase the tags from the top and not to have the titles disappear, BUT I can’t make the tags show at the bottom of the post.
I tried Victoria’s fix, but it either shows the categories at the bottom and erases the titles or (like I have them now) shows the title and no categories.
Is there a way to have the categories show at the bottom?This is the code that it’s not working:
//added by vic $cat_output = ""; if(!empty($cats)) { $cat_output .= '<span class="blog-categories minor-meta">'; $cat_output .= $cats; $cat_output .= '</span>'; $cats = ""; } // The wrapper div prevents the Safari reader from displaying the content twice ¯\_(ツ)_/¯ echo '<div class="av-heading-wrapper">'; echo strpos($blog_global_style, 'modern-blog') === false ? $cat_output.$title : $title.$cat_output; echo '</div>'; //
Thank you, Victoria! This would be the includes/loop-index.php file, right?
I just did that Victoria, thank you for looking!
Thank you for checking this Victoria, here I am adding the credentials again.
Hi Victoria,
Thank you for looking into it, I just looked in includes/loop-index.php and I could not find the code there either, is it in a different file?
Thank you for your help!Thank you so much, Victoria!
That fixed the issue right away! =]Thank you so much for looking into it, i just added the information in the private section =]
- This reply was modified 6 years, 4 months ago by howjoyful.
Hi Shannon,
Thank you so much for your help! Actually, I am not sure if I am looking in the wrong file, but the single.php that I have for the 4.4 version of Enfold – right in the root – does not contain any of the code you mention.
Here is what I see on that file below, am I looking in the wrong place? The Theme update part mentions that I do have the latest version :/
<?php if ( !defined('ABSPATH') ){ die(); } global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); $title = __('Blog - Latest News', 'avia_framework'); //default blog title $t_link = home_url('/'); $t_sub = ""; if(avia_get_option('frontpage') && $new = avia_get_option('blogpage')) { $title = get_the_title($new); //if the blog is attached to a page use this title $t_link = get_permalink($new); $t_sub = avia_post_meta($new, 'subtitle'); } if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title(array('heading'=>'strong', 'title' => $title, 'link' => $t_link, 'subtitle' => $t_sub)); do_action( 'ava_after_main_title' ); ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'> <div class='container template-blog template-single-blog '> <main class='content units <?php avia_layout_class( 'content' ); ?> <?php echo avia_blog_class_string(); ?>' <?php avia_markup_helper(array('context' => 'content','post_type'=>'post'));?>> <?php /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-index.php and that will be used instead. * */ get_template_part( 'includes/loop', 'index' ); $blog_disabled = ( avia_get_option('disable_blog') == 'disable_blog' ) ? true : false; if(!$blog_disabled) { //show related posts based on tags if there are any get_template_part( 'includes/related-posts'); //wordpress function that loads the comments template "comments.php" comments_template(); } ?> <!--end content--> </main> <?php $avia_config['currently_viewing'] = "blog"; //get the sidebar get_sidebar(); ?> </div><!--end container--> </div><!-- close default .container_wrap element --> <?php get_footer(); ?>
Thank you so much, Rikard!
I followed the post about ranking better with Google page speed. Thank you so much for fixing it, I was really scratching my head as to why it would not work. Thanks again!Just checking again to see if you guys had any suggestions as to what could be causing this problem??
Hi Rikard,
Thank you for checking. I just did that and deactivated all the plugins, cleared the cache and purged everything via Cloudflare and the menu is still not working :/
Any other suggestion? -
AuthorPosts