Forum Replies Created
-
AuthorPosts
-
August 10, 2022 at 11:38 pm in reply to: How can I prevent the display of my featured image on my post? #1361387
Guenni007! That did it! I just chose a different layout and that solved everything! Thanks!
And Rikard, I found a widget that incorporated into my Side Bar and it’s working great!
August 9, 2022 at 6:59 pm in reply to: How can I prevent the display of my featured image on my post? #1361280Guenni007, that looks pretty good! How do I pull that off?
August 9, 2022 at 5:41 pm in reply to: How can I prevent the display of my featured image on my post? #1361271I would like to have the option of NOT displaying the featured image like what’s shown on the link that you sent me.
While the images in your sample don’t look bad at all, mine tend to look pixelated which is most likely due to the fact that they’re not large enough in their original state to be stretched out like that and not start to look jenky.
But is there way to have a featured image, so I’ve got a thumbnail in the footer etc, yet not have it displayed like on the site that you sent me?
August 9, 2022 at 3:10 pm in reply to: How can I prevent the display of my featured image on my post? #1361260Rikard! You, sir, are in a position to make my day! If we can figure this out within the next few hours before my meeting with my boss, we will be winners among those who merely show up!
Here’s what I’ve got:
First image (http://brucegust.com/downloads/full_page.png): This is the way my page looks like when you click on a “category” and it displays all of the posts that belong to that particular family of articles. In this example, the “featured image” is the trophy. In its proper context, the trophy shows up just fine within the article itself. But when it’s displayed as part of a whole category of similar posts, that same image is now enlarged and pixelated.
That’s what I’m trying to avoid! How can I fix that?
Second image (http://brucegust.com/downloads/sidebar.png): Ultimately, this is why I appreciate the “featured image” dynamic as much as I do. I like being able to include a small thumbnail alongside each article the way they’re displayed either in the footer or, in this instance, the sidebar.
This is part of what prompts my question. I want that part of the “featured image” mechanism. I just don’t want the enlarged and nasty looking image displayed like what I have pictured on http://brucegust.com/downloads/full_page.png.
Bonus (http://brucegust.com/downloads/this_space.png): Rikard, I realize this borders on being a completely different question and I will open up another thread if you prefer I do it that way. But this is all related in that the featured images that I want to see displayed on the side bar would ideally be accompanied by a larger image beneath them. I was envisioning a clickable photo that might connect a user to another article. Is that possible?
Thanks for your time!
Perfect, Ismael!
Thank you!
Ismael, we are poised on the threshold of greatness! Thanks for getting back with me!
At the risk of wearing out my welcome, I’ve got a couple of questions that I want to pose, again, just so I can explain this to my Server Administrator sufficiently.
1) At the risk of overlooking something obvious, when you say the theme regenerates the merged or compressed file, what IS that compressed file? I know that it’s a JS file, but what is it’s purpose and how is it generated to begin with?
I’m thinking that anytime you make a change to the theme options, that triggers a JS file being added to the “dynamic_avia” directory. It is not a “snapshot” of the site, per se. But it does represent the most current theme settings, as far as what you’ve established as basic theme options. Is that accurate?
I’m scratching my head here because I see in the directory footer scripts, head scripts, merged styles, gutenberg scripts as well as an enfold.css file. So, it looks like there’s more than one kind of JS file being generated when you save a theme option, yes?
2) Imagine someone deleting every file in the “dynamic_avia” directory. Based on what I understand, the site wouldn’t come up properly. You would first have to login to the admin suite, go to the “Enfold” page where the theme settings are housed and save whatever’s there. At that point, you’ve now introduced the necessary JS file(s) in the “dynamic_avia” directory and the site will come up normally. Is that correct?
3) How do you clear you Plugin cache? When I googled it, I saw what appears to be a plugin that you can install that clears that cache. Is that the route I need to go or does Enfold provide a mechanism that does that?
Bottom line: Here’s the way I would explain what the “dynamic_avia” directory is to my Team…
The “dynamic_avia” folder is a repository for JS files that capture the theme’s current settings. It’s a file(s) that’s generated any change is made to the theme’s options which is accomplished by going out to the menu option that’s represented by a “home” icon, which is the “Enfold” homepage for lack of a better way to describe it, and saving either your changes or whatever is there.
To keep it clean, you’ve got a couple of options, all of which are healthy practices…
– active the Delete old CSS and JS files option
– clear every file in the directory except for the most recent ones or…
– clear every file in the directory and then go to the Enfold homepage and save the changes that are there
– use a plugin to clear the plugin cache to keep that dynamic from becoming a bottleneckAm I on point?
Ismael!
I built the Newsletter webpage for my company using Enfold. It’s an awesome theme! But I’m getting questions from those who monitor the server about the “dynamic_avia” directory and I want to be able to tell them what it is and how it works.
The impression I get is that Enfold has a built in back up dynamic that creates a snapshot of your site so if anything were to go south, you would use the most recent script to restore what would otherwise have been lost.
But you have to keep an eye on it because, while it’s a great feature, the directory can become very large fairly quickly.
That’s what I’m thinking, but your response to amollde has me a little hesitant, as far as believing that I’ve got a solid handle on what the “dynamic_avia” folder really is.
What is it about the directory that translates to a situation where you can’t just delete the temporary files that exist inside of it? And when you say…
“You can actually delete everything in that folder but you have to make sure to resave the theme options to regenerate the dynamic styling and merged scripts back. The Performance > File Compression settings should be enabled.. After saving the theme options, purge the cache and everything should be working as usual.”
…could you explain what you mean by, “resave the theme options?” How do you do that and why do you do that?
And then when you say, “purge the cache” are you referring to the browser history or is there a setting within Enfold that I need to be aware of?
Again, because I’m talking to guys who monitor the server, I want to be able to explain what this is. They’re a sharp group of people, but they’re also very guarded about anything that looks like it might tax the performance of our main application and that’s why I want to be sound like I know what I’m talking about.
Thanks!
September 12, 2016 at 6:55 pm in reply to: What do these errors mean and how can I fix them? #685310And Rikard, if you could, there’s also a huge warning on the mobile version of the site that says “New website coming soon.” Perhaps that’s a window into what’s happening across the board…
September 11, 2016 at 3:34 am in reply to: What do these errors mean and how can I fix them? #684644Vinery, I’m stuck, bud!
The page is a mess, I don’t know what to do. I’ve googled and I’m still coming up short. It’s got nothing to do with the plugins. Take a look at what I’ve got at http://greyghost5k.com. There’s errors from the header.php in the child_theme directory. I’ve got no clue as to how to fix it and the page is looking terrible.
A free soft drink for you, my friend, if you can help me make this right.
Rock on!
September 11, 2016 at 12:49 am in reply to: What do these errors mean and how can I fix them? #684634This one is easier to read:
array(30) {
[“header_position”]=> string(10) “header_top”
[“header_layout”]=> string(20) “logo_left menu_right”
[“header_size”]=> string(5) “large”
[“header_custom_size”]=> string(0) “”
[“header_sticky”]=> string(13) “header_sticky”
[“header_shrinking”]=> string(16) “header_shrinking”
[“header_title_bar”]=> string(16) “hidden_title_bar”
[“header_social”]=> string(36) “icon_active_left extra_header_active”
[“header_unstick_top”]=> string(0) “”
[“header_secondary_menu”]=> string(35) “secondary_right extra_header_active”
[“header_stretch”]=> string(0) “”
[“header_phone_active”]=> string(0) “”
[“header_replacement_logo”]=> string(0) “”
[“header_replacement_menu”]=> string(0) “”
[“header_mobile_behavior”]=> string(0) “”
[“header_searchicon”]=> string(26) “header_searchicon_disabled”
[“header_mobile_activation”]=> string(17) “mobile_menu_phone”
[“phone”]=> string(0) “”
[“sidebarmenu_sticky”]=> string(18) “conditional_sticky”
[“layout_align_content”]=> string(20) “content_align_center”
[“sidebarmenu_widgets”]=> string(0) “”
[“sidebarmenu_social”]=> string(8) “disabled”
[“header_menu_border”]=> string(0) “”
[“header_style”]=> string(0) “”
[“blog_global_style”]=> string(0) “”
[“header_scroll_offset”]=> int(116)
[“header_transparency”]=> string(0) “”
[“header_class”]=> string(188) ” av_header_top av_logo_left av_menu_right av_large av_header_sticky av_header_shrinking av_mobile_menu_phone av_header_searchicon_disabled av_bottom_nav_disabled av_header_border_disabled”
[“header_topbar”]=> string(20) “header_topbar_active”
[“bottom_menu”]=> bool(false)
}September 11, 2016 at 12:49 am in reply to: What do these errors mean and how can I fix them? #684633Hey, Vinay!
Thanks for getting back with me. I deactivated all of the plugins and it didn’t make any difference.
I think the problem my be revealed in the context of the var_dump that I did based on the PHP error. I’m thinking it starts to cough and sputter any time it gets to a variable for which there is no variable. Look at the array and tell me if anything looks suspicious to you:
array(30) { ["header_position"]=> string(10) "header_top" ["header_layout"]=> string(20) "logo_left menu_right" ["header_size"]=> string(5) "large" ["header_custom_size"]=> string(0) "" ["header_sticky"]=> string(13) "header_sticky" ["header_shrinking"]=> string(16) "header_shrinking" ["header_title_bar"]=> string(16) "hidden_title_bar" ["header_social"]=> string(36) "icon_active_left extra_header_active" ["header_unstick_top"]=> string(0) "" ["header_secondary_menu"]=> string(35) "secondary_right extra_header_active" ["header_stretch"]=> string(0) "" ["header_phone_active"]=> string(0) "" ["header_replacement_logo"]=> string(0) "" ["header_replacement_menu"]=> string(0) "" ["header_mobile_behavior"]=> string(0) "" ["header_searchicon"]=> string(26) "header_searchicon_disabled" ["header_mobile_activation"]=> string(17) "mobile_menu_phone" ["phone"]=> string(0) "" ["sidebarmenu_sticky"]=> string(18) "conditional_sticky" ["layout_align_content"]=> string(20) "content_align_center" ["sidebarmenu_widgets"]=> string(0) "" ["sidebarmenu_social"]=> string(8) "disabled" ["header_menu_border"]=> string(0) "" ["header_style"]=> string(0) "" ["blog_global_style"]=> string(0) "" ["header_scroll_offset"]=> int(116) ["header_transparency"]=> string(0) "" ["header_class"]=> string(188) " av_header_top av_logo_left av_menu_right av_large av_header_sticky av_header_shrinking av_mobile_menu_phone av_header_searchicon_disabled av_bottom_nav_disabled av_header_border_disabled" ["header_topbar"]=> string(20) "header_topbar_active" ["bottom_menu"]=> bool(false) }
You see what I mean? Header custom size. Where is that? Header unstick top. That’s empty. Where do populate that info? There are a few of them. Do you recognize any of the strings that have a zero value and can you tell me how to get this filled in?
Yo, dog!
I did start a new thread, but just in case you’re still there…
We’re good! I installed the new content and the site was immediately effected in a good way. Most of my content is back to what it should be, but…
I’m getting some errors that are coming from the header.php in the child directory. You can see what I’m talking about if you go to http://greyghost5k.com. Do you know those are and how to fix them? Here’s the code:
<?php global $avia_config; $style = $avia_config['box_class']; $responsive = avia_get_option('responsive_layout','responsive'); $blank = isset($avia_config['template']) ? $avia_config['template'] : ""; $headerS = !$blank ? avia_header_setting() : ""; $headerMenu = $responsive ? avia_get_option('header_menu','mobile_drop_down') : ""; ?> <!DOCTYPE html> <html <?php language_attributes(); ?> class="<?php echo " html_$style ".$responsive." ".$headerS;?> "> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <?php /* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } /* * outputs a favicon if defined */ if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); } ?> <!-- page title, displayed in your browser bar --> <title><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></title> <!-- add feeds, pingback and stuff--> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> RSS2 Feed" href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <!-- mobile setting --> <?php if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; ?> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head> <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); ?>> <div id='wrap_all'> <?php if(!$blank){ ?> <div id='header' class=' header_color <?php avia_is_dark_bg('header_color'); echo " ".$headerMenu; ?>'> <?php $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); //subheader, only display when the user chooses a social header if(strpos($headerS,'social_header') !== false) { ?> <div id='header_meta' class='container_wrap container_wrap_meta'> <div class='container'> <?php /* * display the themes social media icons, defined in the wordpress backend * the avia_social_media_icons function is located in includes/helper-social-media-php */ if(strpos($headerS,'bottom_nav_header') === false) avia_social_media_icons($social_args); //display the small submenu echo "<div class='sub_menu'>"; $args = array('theme_location'=>'avia2', 'fallback_cb' => '', 'container'=>'', 'echo' =>false); $nav = wp_nav_menu($args); echo $nav; $phone = avia_get_option('phone'); $phone_class = !empty($nav) ? "with_nav" : ""; if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; /* * Hook that can be used for plugins and theme extensions (currently: the wpml language selector) */ do_action('avia_meta_header'); echo "</div>"; ?> </div> </div> <?php } ?> <div id='header_main' class='container_wrap container_wrap_logo'> <?php /* * Hook that can be used for plugins and theme extensions (currently: the woocommerce shopping cart) */ do_action('ava_main_header'); ?> <div class='container'> <?php /* * display the theme logo by checking if the default logo was overwritten in the backend. * the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output */ echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong'); if(strpos($headerS,'social_header') !== false && strpos($headerS,'bottom_nav_header') !== false) avia_social_media_icons($social_args); /* * display the main navigation menu * modify the output in your wordpress admin backend at appearance->menus */ $extraOpen = $extraClose = ""; if(strpos($headerS,'bottom_nav_header') !== false){ $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>"; } echo $extraClose; echo "<div class='main_menu' data-selectname='".__('Select a page','avia_framework')."'>"; $args = array('theme_location'=>'avia', 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu()); wp_nav_menu($args); echo "</div>"; /* * Hook that can be used for plugins and theme extensions */ do_action('ava_after_main_menu'); ?> <!-- end container--> </div> <span class="anniversary">8<span class="sub">th</span> Annual</span> <span class="dates">October 1, 2016</span> <a href="https://greyghost.itsyourrace.com/register/" target="_blank" class="registerButton"><!-- <img src="images/pm12/stopwatch.png" /> --> Register Now</a> </div> <!-- end container_wrap--> </div> <div class='header_bg'></div> <!-- end header --> </div> <?php } //end blank check ?> <div id='main'>
You rock, by the way!
September 10, 2016 at 10:45 pm in reply to: What do these errors mean and how can I fix them? #684597The URL for the site, by the way, is http://greyghost5k.com
-
AuthorPosts