Forum Replies Created
-
AuthorPosts
-
February 10, 2016 at 8:41 am in reply to: Error message when Debug is on. On 2 separate sites. #580893
Sure. See private content.
February 9, 2016 at 12:30 pm in reply to: Show parent page above nested subpages in sidebar navigation #580340Thanks much. All looking right now.
February 8, 2016 at 4:37 am in reply to: Show parent page above nested subpages in sidebar navigation #579321Thanks 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; } }
February 5, 2016 at 5:03 am in reply to: Show parent page above nested subpages in sidebar navigation #578226Hi 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.
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.February 5, 2016 at 4:39 am in reply to: Blog Category views differ from Post to custom post type #578217Yes, 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.
February 3, 2016 at 7:06 am in reply to: Blog Category views differ from Post to custom post type #576911When 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, 10 months ago by laptophobo.
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, 10 months ago by laptophobo.
February 2, 2016 at 6:55 am in reply to: Show parent page above nested subpages in sidebar navigation #576260Hi 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,
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,
RichardHi Elliott.
The WP version is current (4.4.1). I’ve added you as a User. Please see Private Content for the access.
January 30, 2016 at 10:09 am in reply to: Blog Category views differ from Post to custom post type #574964Thanks. I’ll look for your reply. :-)
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,
January 27, 2016 at 11:39 am in reply to: Displaying custom post types inside of the Avia Layout Builder #572757I 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.
January 27, 2016 at 3:27 am in reply to: Displaying custom post types inside of the Avia Layout Builder #572530Okay, 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.
.
- This reply was modified 8 years, 11 months ago by laptophobo.
January 25, 2016 at 6:53 am in reply to: Displaying custom post types inside of the Avia Layout Builder #571114Yeah, 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,
RichardYes, that worked. Thanks Josue.
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.
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, 1 month ago by laptophobo.
September 23, 2015 at 4:25 pm in reply to: Post meta information not appearing on single post in restaurant theme in Enfold #507969Gotta 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.)
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.
The update to 3.3.2 solved my problems. Thank you.
Yeah, me too. Plus, my layout boxes keep bumping down to the next level. All sorts of weirdness happening here.
Oh, yes. Went live with the site yesterday. It’s now located at: http://humansolutions.org/helping/online-giving/
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,
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,
RichardIsmael,
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.) :-|
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.
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.
-
AuthorPosts