elrezzo
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Ok well I tested the plugin locally, but I’ll try the version you mentioned.
Forum: Plugins
In reply to: [Max Mega Menu] Add Extra ContainerI’m actually trying to do
<ul><li><div><ul>
which is valid HTML. Would that be possible to add?I tried setting it through the Panel Width setting, but that didn’t quite return the result I was looking for. It also meant I had to enable the default CSS which I’m trying to avoid.
Forum: Plugins
In reply to: [The Events Calendar] Multiple Google MapsA live example can be seen here:
Forum: Plugins
In reply to: [The Events Calendar] Page TitleAt the moment I’m not getting the default title for the Month View, I’m getting the title ‘Not Found’.
https://highway.bigrigmedia.com/events/
I’ve tried modifying the function I’m using to display the title, but nothing has seemed to work.
function modular_title() { global $post; if (is_home()) { if (get_option('page_for_posts', true)) { return get_the_title(get_option('page_for_posts', true)); } else { return __('Latest Posts', 'modular'); } } elseif (is_archive()) { $term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy')); if ($term) { return apply_filters('single_term_title', $term->name); } elseif (is_post_type_archive()) { return apply_filters('the_title', get_queried_object()->labels->name); } elseif (is_day()) { return sprintf(__('Daily Archives: %s', 'modular'), get_the_date()); } elseif (is_month()) { return sprintf(__('Monthly Archives: %s', 'modular'), get_the_date('F Y')); } elseif (is_year()) { return sprintf(__('Yearly Archives: %s', 'modular'), get_the_date('Y')); } elseif (is_author()) { $author = get_queried_object(); return sprintf(__('Author Archives: %s', 'modular'), apply_filters('the_author', is_object($author) ? $author->display_name : null)); } elseif(is_category()) { $category = get_the_category(); if((int)$category[0]->parent === 435){ return get_cat_name($category[0]->parent); } else { return get_cat_name($category[0]->parent).' '.single_cat_title('', false); } } else { return single_cat_title('', false); } } elseif (is_search()) { return sprintf(__('Search Results for %s', 'modular'), get_search_query()); } elseif (is_child($post->ID)) { return get_the_title($post->post_parent); } elseif (is_404()) { return __('Not Found', 'modular'); } else { return get_the_title(); } }
Viewing 4 replies - 1 through 4 (of 4 total)