Forum Replies Created

Viewing 30 posts - 301 through 330 (of 403 total)
  • Author
    Posts
  • in reply to: Error message when Debug is on. On 2 separate sites. #580893

    Sure. See private content.

    in reply to: Show parent page above nested subpages in sidebar navigation #580340

    Thanks much. All looking right now.

    Thanks for the work on that Ismael. Your edit to the code has made it active, but it’s adding extra space bottom padding to it.

    Here’s the updated code in its entirety:

    /* adds the parent page in sidebar navigation */
    
    function avia_sidebar_menu($echo = true)
    {
    	$sidebar_menu = "";
    
    	$subNav = avia_get_option('page_nesting_nav');
    
    	
    	$the_id = @get_the_ID();
    	$args 	= array();
    	global $post;
    
    	if($subNav && $subNav != 'disabled' && !empty($the_id) && is_page())
    	{
    		$subNav = false;
    		$parent = $post->ID;
    		$sidebar_menu = "";
    
    		if (!empty($post->post_parent))
    		{
    			if(isset($post->ancestors)) $ancestors  = $post->ancestors;
    			if(!isset($ancestors)) $ancestors  = get_post_ancestors($post->ID);
    			$root		= count($ancestors)-1;
    			$parent 	= $ancestors[$root];
    		}
    
    		$args = array('title_li'=>'', 'child_of'=>$parent, 'echo'=>0, 'sort_column'=>'menu_order, post_title');
    
    		//enables user to change query args
    		$args = apply_filters('avia_sidebar_menu_args', $args, $post);
    
    		//hide or show child pages in menu - if the class is set to 'widget_nav_hide_child' the child pages will be hidden
    		$display_child_pages = apply_filters('avia_sidebar_menu_display_child', 'widget_nav_hide_child', $args, $post);
    
    		$children = wp_list_pages($args);
    
    		if ($children)
    		{
    			$default_sidebar = false;
    			$sidebar_menu .= "<a href='". get_the_permalink($parent) ."'>".get_the_title($parent)."</a>";
    			$sidebar_menu .= "<nav class='widget widget_nav_menu $display_child_pages'><ul class='nested_nav'>";
    			$sidebar_menu .= $children;
    			$sidebar_menu .= "</ul></nav>";
    		}
    	}
    
    	$sidebar_menu = apply_filters('avf_sidebar_menu_filter', $sidebar_menu, $args, $post);
    
    	if($echo == true) { echo $sidebar_menu; } else { return $sidebar_menu; }
    }
    

    Hi Vinay. The problem is not how to style that Parent, but to make it an active link.

    If you go to that page, you’ll see that on the left sidebar is the Parent “About Us”. When you try to click it, you’ll see that it’s not active like it’s children below. I wish to make the Parent (About Us) an active link–going to the About Us parent page.

    in reply to: Blog not showing pagination items #578223

    Sorry Ismael. I had some backwards login happening for a moment there. The new query.php file (from 4.4.2) has corrected the problem.
    Thanks again.

    in reply to: Blog Category views differ from Post to custom post type #578217

    Yes, replacing the line of code in the loop-index.php file worked. Thank you for that. And I’ll look into the “create your own archives templates” thread next.

    Thanks again for your help with this: Ismael and Basilis.

    in reply to: Blog Category views differ from Post to custom post type #576911

    When the Advance Excerpt plugin is activated, the Post (e.g.: news) works as it should, but for the Custom Posts (e.g.: nepal), I get this error message and no content: Notice: Undefined index: index in /home/karnalie/public_html/ke-2016/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps.php on line 281

    So, I’ve deactivated the plugin and went with your functions.php code. If you go to the Nepal blog, you’ll see that there’s a problem with this as well.

    As for activating the Read More tag, per your first solution, I don’t know what that means.

    Thanks again,

    • This reply was modified 8 years, 9 months ago by laptophobo.
    in reply to: Blog not showing pagination items #576866

    Hmm. Not for me. 4.4.2 is running. When I restored the query.php (in wp-includes) back to the original version (not the modified version) the problem returns. Or, should I have not touched the query.php file once 4.4.2 was installed?

    You can see for yourself.

    • This reply was modified 8 years, 9 months ago by laptophobo.

    Hi Rikard,

    I should have supplied that earlier. Here it is. (In private content.). You see that the sidebar link About Us, which is the parent, isn’t active.

    Thank you,

    in reply to: Blog not showing pagination items #576234

    Hi Elliott,

    I wasn’t able to get the pagination to work even with activation of Enfold parent theme. (I did delete that old backup version of Enfold.)

    The solution was found following your thread, leading here: https://core.trac.wordpress.org/ticket/35344#comment:34

    Hopefully in the next WP and Enfold update, this will not come back to haunt us.

    Thanks again,
    Richard

    in reply to: Blog not showing pagination items #575499

    Hi Elliott.

    The WP version is current (4.4.1). I’ve added you as a User. Please see Private Content for the access.

    in reply to: Blog Category views differ from Post to custom post type #574964

    Thanks. I’ll look for your reply. :-)

    in reply to: Blog not showing pagination items #574901

    Hi Elliott.
    I think the reason the link wasn’t working when you tried was that I was just in the middle of swapping out the previous Enfold version for a fresh version. I uploaded it manually since the previous version was also 3.4.7.

    The problem still persists. Could you please look into it again?

    Thanks much,

    I just noticed that my Categories, created in the custom post type (which uses your recommended Types plugin) are not showing up in my Menu Categories or site map. Maybe I need to edit another template-builder file before they’ll be accessible?

    Your feedback is much appreciated.

    Okay, that’s what I thought. I’ll just have to remember to reload that updated file whenever there is a theme update. But if anyone out there knows a work-around, that would be the best solution.

    Thanks for your time.

    in reply to: multiple images in Color Section #571931

    .

    • This reply was modified 8 years, 10 months ago by laptophobo.

    Yeah, I tried again and still that file is not recognized in the child folder. I double checked the path as well. The debug results are in the Private Content.

    Thanks for your help,
    Richard

    in reply to: Using video in Advanced Layer Slider #569766

    Yes, that worked. Thanks Josue.

    in reply to: Using video in Advanced Layer Slider #569224

    Hi. What I’m seeking to do is to have a full background video within Advanced Layerslider/LayerSlider WP. I know how to add a layer, but that won’t stretch to the full width of my viewing area. The Fullscreen Slider, and Color Section, won’t work for me because I need the same control as Advance Layer Slider provides. So, is it possible to have a video background instead of image on Advance Layer Slider?

    Thanks for your help.

    in reply to: Facebook default image in Yoast SEO not viewing #529066

    Hi Elliott.

    No cache plugin was added. I did re-create the Page per your suggestion. It then displays that slider image. But, it’s still ignoring the Yoast SEO FB Social properties image.

    • This reply was modified 9 years ago by laptophobo.

    Gotta say, Kdagnall is right. What makes Enfold theme is its ALB. Not having something as standard as the author meta seems short-sighted. Even if this feature cost extra, it would be worth it to many of us. (And, yes, I’ve already gone and voted for this feature.)

    in reply to: Theme update and theme problems #492441

    I’m now having to update manually for another of my sites. When I go to Theme Forest / Code Canyon, the version they offer in downloads is 3.3.1.

    in reply to: Theme update and theme problems #492409

    The update to 3.3.2 solved my problems. Thank you.

    in reply to: Text block damaged by editing #491648

    Yeah, me too. Plus, my layout boxes keep bumping down to the next level. All sorts of weirdness happening here.

    in reply to: Code Block problem #491523

    Oh, yes. Went live with the site yesterday. It’s now located at: http://humansolutions.org/helping/online-giving/

    in reply to: Code Block problem #490394

    I’ve went back in and modified the form fields per above. So, this will work for now. If, however, you come upon a solution that eliminates the conflict altogether, that would be much more preferred.

    Thanks,

    in reply to: Code Block problem #489615

    Okay. Then, there’s only a couple of fields left that I’m unable to alter with CSS. Maybe you guys will have better luck?

    – The “zip” within the Billing Address of the form should be on the same line as State&zip. (this is a similar issue to the Last name field which you guys were able to fix)

    – Under the Payment Details, the Expiration Month and the Year fields are flushed to the left when they shouldn’t be.

    Other than that, we’ll be okay.

    Thanks again,
    Richard

    in reply to: Code Block problem #489054

    Ismael,

    I applied your alternative styles to the form. Some of it worked, but some areas didn’t. But that would not be a long term solution because if the fields were to change and/or new fields added, the client would have to figure out the corresponding style to counter it.

    I’m hoping that we can figure out the conflict soon. (This site was supposed to go live last week.) :-|

    in reply to: Code Block problem #489039

    Hi Andy,

    I had provided the password on August 12 (see above thread). But, I’ve removed it altogether so that there’s no longer an issue.

    in reply to: Code Block problem #488263

    When you ask “provide a screen shot”, what is it you want a screen shot of? The 2 versions of the website views have been provided, so I’m a bit confused here.

Viewing 30 posts - 301 through 330 (of 403 total)