bmp888
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Events not showing on month viewI am having the same issue with the month view. Was working great – now gone.
https://googleready.com/events/month/Forum: Plugins
In reply to: [The Events Calendar] events page is blankI am having this same issue after the update as well. The list view still works, but the month view disappeared. Any help would be greatly appreciated.
https://googleready.com/events/month/I figured it out – thank you just the same!
.page-title {
display: none !important;
}.page-title-wrapper {
display: none !important;Forum: Fixing WordPress
In reply to: image not properly resizing only for 27 inch screensthank you. ??
Forum: Fixing WordPress
In reply to: moving social media icons from top menu to footer menuthank you. ??
Forum: Fixing WordPress
In reply to: remove menu and logo from home page onlyhi Eggheads,
thank you so much for helping me! i have copied the entire header.php into the child theme. and this section of the php seems to be the area that you are referencing…
`<div class=”mobile-nav”>
<span class=”mob-nav-btn”><?php _e( ‘Menu’, ‘pexeto’ ); ?></span>
</div>
<nav class=”navigation-container”>
<div id=”menu” class=”nav-menu”>
<?php
$menu_args = array(
‘theme_location’ => ‘pexeto_main_menu’,
‘container’ => false,
‘menu_class’ => ‘menu-ul’);if(has_nav_menu( ‘pexeto_main_menu’ )){
$menu_args[‘walker’] = new PexetoMenuWalker();
}wp_nav_menu($menu_args); ?>
</div><div class=”header-buttons”>
<?php
//header icons and buttonsif(PEXETO_WOOCOMMERCE_ACTIVE && function_exists(‘pexeto_print_woocommerce_cart_button’)){
//WooCommerce shopping cart button
pexeto_print_woocommerce_cart_button();
}if(pexeto_option(‘header_search’)){
?><div class=”header-search”>
<?php get_search_form(true); ?>
<a href=”#” class=”header-search-btn”>Search</a></div>
<?php }locate_template( array( ‘includes/social-icons.php’ ), true, false ); ?>
</div>
</nav>`so where should i put the logic in? thanks! https://www.dewdropyoga.com
Forum: Fixing WordPress
In reply to: remove menu and logo from home page onlyhi Eggheads,
thank you so much for offering an answer to my question! yes, i am using a child theme. so when you say search for the “wp_nav_menu” and use the following logic –
<?php if ( !is_front_page() ) {
wp_nav_menu( array( ‘theme_location’ => ‘primary’ ) ); // or replace this with the ‘wp_nav_menu line from parent theme
}
?>does that mean i copy and paste the logic into anywhere i see “wp_nav_menu”? am i understanding you correctly?
this is the header php:
<!DOCTYPE html>
<html <?php language_attributes() ?>>
<head>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” /><title><?php wp_title(pexeto_option(‘seo_separator’), true, ‘right’); ?></title>
<?php
//print the Facebook and Google+ meta tags to include the featured image
//of the post/page when it is shared
global $post;
if(is_singular() && isset($post)){
if($post->post_type==PEXETO_PORTFOLIO_POST_TYPE){
$image = pexeto_get_portfolio_preview_img($post->ID);
$image = $image[‘img’];
}else{
$image = pexeto_get_featured_image_url($post->ID);
}if(!empty($image)){
?>
<!– facebook meta tag for image –>
<meta property=”og:image” content=”<?php echo $image; ?>”/>
<!– Google+ meta tag for image –>
<meta itemprop=”image” content=”<?php echo $image; ?>”>
<?php }
}
?><!– Mobile Devices Viewport Resset–>
<?php if(pexeto_option(‘responsive_layout’)!==false){ ?>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1″>
<?php } ?>
<meta name=”apple-mobile-web-app-capable” content=”yes”>
<!– <meta name=”viewport” content=”initial-scale=1.0, user-scalable=1″ /> –>
<?php if(pexeto_option(‘seo_keywords’)){ ?>
<!– Keywords–>
<meta name=”keywords” content=”<?php echo pexeto_option(‘seo_keywords’); ?>” />
<?php } ?><?php
//remove SEO indexation and following for the selected archives pages
if(is_archive() || is_search() || is_page_template(‘template-portfolio-gallery.php’)){
$exclude_index_pages=pexeto_option(‘seo_indexation’);
if($exclude_index_pages == ”) $exclude_index_pages = array();
if((is_category() && in_array(‘category’, $exclude_index_pages))
|| (is_author() && in_array(‘author’, $exclude_index_pages))
|| (is_tag() && in_array(‘tag’, $exclude_index_pages))
|| (is_date() && in_array(‘date’, $exclude_index_pages))
|| (is_search() && in_array(‘search’, $exclude_index_pages))
|| (is_page_template(‘template-portfolio-gallery.php’) && isset($_GET[‘cat’]) && in_array(‘pgcategory’, $exclude_index_pages))
){ ?>
<!– Disallow content indexation on this page to remove duplicate content problems –>
<meta name=”googlebot” content=”noindex,nofollow” />
<meta name=”robots” content=”noindex,nofollow” />
<meta name=”msnbot” content=”noindex,nofollow” />
<?php }
}
?><link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php if(pexeto_option(‘favicon’)){ ?>
<link rel=”shortcut icon” type=”image/x-icon” href=”<?php echo pexeto_option(‘favicon’); ?>” />
<?php } ?><!–[if lt IE 9]>
<script src=”<?php echo get_template_directory_uri(); ?>/js/html5shiv.js”></script>
<![endif]–><?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id=”main-container” >
<div class=”page-wrapper” >
<!–HEADER –>
<?php
//get the header background options
$pexeto_bg_data = pexeto_get_header_bg_data();
?>
<div class=”header-wrapper” <?php echo $pexeto_bg_data[‘color_css’]; ?>><?php
if(!empty($pexeto_bg_data[‘img’])){
//print the header background image div
echo $pexeto_bg_data[‘img’];
}
?>
<header id=”header”>
<div class=”section-boxed section-header”>
<?php do_action(‘pexeto_before_header’); ?>
<div id=”logo-container”>
<?php
$logo_image = pexeto_option(‘retina_logo_image’) ? pexeto_option(‘retina_logo_image’) : pexeto_option(‘logo_image’);
if(empty($logo_image)){
$logo_image=get_template_directory_uri().’/images/[email protected]’;
}
?>
“><img src=”<?php echo $logo_image; ?>” alt=”<?php esc_attr(bloginfo(‘name’)); ?>” />
</div><div class=”mobile-nav”>
<span class=”mob-nav-btn”><?php _e( ‘Menu’, ‘pexeto’ ); ?></span>
</div>
<nav class=”navigation-container”>
<div id=”menu” class=”nav-menu”>
<?php
$menu_args = array(
‘theme_location’ => ‘pexeto_main_menu’,
‘container’ => false,
‘menu_class’ => ‘menu-ul’);if(has_nav_menu( ‘pexeto_main_menu’ )){
$menu_args[‘walker’] = new PexetoMenuWalker();
}wp_nav_menu($menu_args); ?>
</div><div class=”header-buttons”>
<?php
//header icons and buttonsif(PEXETO_WOOCOMMERCE_ACTIVE && function_exists(‘pexeto_print_woocommerce_cart_button’)){
//WooCommerce shopping cart button
pexeto_print_woocommerce_cart_button();
}if(pexeto_option(‘header_search’)){
?><div class=”header-search”>
<?php get_search_form(true); ?>
Search</div>
<?php }locate_template( array( ‘includes/social-icons.php’ ), true, false ); ?>
</div>
</nav><?php do_action(‘pexeto_after_header’); ?>
<div class=”clear”></div>
<div id=”navigation-line”></div>
</div>
</header><!– end #header –>