-
AuthorPosts
-
November 4, 2014 at 9:00 am #345760
Hello,
After installing the simple:press forum , We noticed that everything is working perfectly except that, on mobile only, when we are currently in the “forum” page and try to open the mobile menu, the current “forum” item in the menu is not displayed as it should (we can see a black line), it does display correctly thought when we are not in the “forum” page (eg : we are in home or something else). Also the navigation on the top does only display You are here:Home / while displaying correctly on desktop : You are here:Home / Forum. The problem has been seen on mobile android using Chrome.
Can you please advise ?
Link is attached
November 4, 2014 at 10:09 pm #346160Hey Hyperdevbox!
I also noticed that the page title “Forum” is missing on mobile. Not sure what would be causing that. Have you tried deactivating all of your other plugins?
The forum software we recommend to use is bbPress, have you considered using that plugin instead?
Best regards,
ElliottNovember 5, 2014 at 5:28 am #346363We tried BBpress but it does not have the functionality we need so we deactivate it and installed simple:press.
The problem looks related to the way the forum is “hooked” to detect the forum page (in their WP integration menu), if we change the Forum to another page we can see Forum in the mobile menu. So does it give you some hint where we should search & patch ?
Apparently the mobile menu does not get the “item” information when we are exactly on the page the forum app is detecting to insert the forum. I will contact simples:press support forum but I thought you might have the information where is the mobile menu and why “some other hook” may remove the item information and the title bar information too ?
Kind Regards,
Carlo
November 6, 2014 at 1:29 am #346902Hi!
I do not know. I tried installing the plugin to debug but I’m getting a fatal error when activating it. Let us know what the authors say.
You can find the function for displaying the page title in /enfold/functions-enfold.php starting on line 261.
//advanced title + breadcrumb function if(!function_exists('avia_title')) { function avia_title($args = false, $id = false) { global $avia_config; if(!$id) $id = avia_get_the_id(); $header_settings = avia_header_setting(); if($header_settings['header_title_bar'] == 'hidden_title_bar') return ""; $defaults = array( 'title' => get_the_title($id), 'subtitle' => "", //avia_post_meta($id, 'subtitle'), 'link' => get_permalink($id), 'html' => "<div class='{class} title_container'><div class='container'><{heading} class='main-title entry-title'>{title}</{heading}>{additions}</div></div>", 'class' => 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true), 'breadcrumb' => true, 'additions' => "", 'heading' => 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/ ); if ( is_tax() || is_category() || is_tag() ) { global $wp_query; $term = $wp_query->get_queried_object(); $defaults['link'] = get_term_link( $term ); } else if(is_archive()) { $defaults['link'] = ""; } //disable breadcrumb if requested if($header_settings['header_title_bar'] == 'title_bar') $defaults['breadcrumb'] = false; // Parse incomming $args into an array and merge it with $defaults $args = wp_parse_args( $args, $defaults ); $args = apply_filters('avf_title_args', $args, $id); // OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before. extract( $args, EXTR_SKIP ); if(empty($title)) $class .= " empty_title "; $markup = avia_markup_helper(array('context' => 'avia_title','echo'=>false)); if(!empty($link)) $title = "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".esc_attr( $title )."' $markup>".$title."</a>"; if(!empty($subtitle)) $additions .= "<div class='title_meta meta-color'>".wpautop($subtitle)."</div>"; if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true)); $html = str_replace('{class}', $class, $html); $html = str_replace('{title}', $title, $html); $html = str_replace('{additions}', $additions, $html); $html = str_replace('{heading}', $heading, $html); if(!empty($avia_config['slide_output']) && !avia_is_dynamic_template($id) && !avia_is_overview()) { $avia_config['small_title'] = $title; } else { return $html; } } }
Best regards,
Elliott- This reply was modified 10 years ago by Elliott.
November 6, 2014 at 7:36 am #346988Did you get a fatal error (about wrong header) when activating the plugin ? This plugin needs to be uploaded to the wordpress plugin folder and then you can activate it from wordpress afterwards….
November 6, 2014 at 8:29 pm #347339Hey!
I got rid of the error eventually but I still do not know what is going on with the titles. Let us know what the plugin authors say and we’ll take another look.
Regards,
ElliottNovember 13, 2014 at 4:55 am #350568Hi,
Maybe We could simply disable the titles on that forum pages, this is not really important, so would you mind let us know how you did fix the missing menu item ? I would like to report it to the author of the forum software and eventually add it as a temporary fix also for the website ?
Kind Regards
November 14, 2014 at 12:24 am #351015Hey!
I’m sorry but you misunderstand. I did not figure out how to fix the title or the missing menu.
What feature are you needing that bbPress does not have? Perhaps we can find a workaround there.
Best regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.