Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Forum: Fixing WordPress
    In reply to: jQuery Error
    Thread Starter optionwarriors

    (@optionwarriors)

    I did what you suggested and was able to trace 2/4 of the problems to a plugin (I have been able to fix it).

    Not sure what is causing this: Uncaught TypeError: jQuery(…).ready(…) is not a function (index):619

    The error doesn’t show on Twenty Fourteen so not sure what is wrong with the theme.

    Thread Starter optionwarriors

    (@optionwarriors)

    I am not worried about the mobile functionality of the theme. I am using a separate plugin to handle the theme on mobile devices and tablets.

    Mainly concerned on desktops – the theme has been modified from the original theme / much different. Just not sure how to make:

    “@media screen and (min-width:”

    to activate the responsive menu at the exact point where the menu breaks and where to make the edit to move it to left side.

    Thread Starter optionwarriors

    (@optionwarriors)

    I also just noticed that when I click the menu button once it is minimized, nothing happens / no menu shows? Any ideas?

    Thread Starter optionwarriors

    (@optionwarriors)

    Thanks on both answers, very very helpful. I appreciate it and implemented the above changes.

    One last question. Is there anyway I can move the social media icons to underneath the menu bar if it is minimized?

    Thanks again.

    Thread Starter optionwarriors

    (@optionwarriors)

    Thanks for the response, I think that is exactly what I was looking for.

    I downloaded the Responsive Menu plugin. It said:

    Recommended Metaport Tag: <meta name=’viewport’ content=’width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no’ />
    OR
    [responsive-menu menu=”default”]

    What adjustments would I make to header.php to make it show before the “Home” button? Nothing seems to be working.

    Header.PHP

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="content">
     *
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    
    	<meta charset="<?php bloginfo( 'charset' ); ?>">
    	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    
    <?php wp_head(); ?>
    <link rel="profile" href="https://gmpg.org/xfn/11">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed site">
    	<div class="container header-area">
    		<?php do_action( 'before' ); ?>
    		<header id="masthead" class="site-header col-sm-12" role="banner">
    
    				<div class="site-branding col-md-6">
    					<?php if( get_header_image() != '' ) : ?>
    
    						<div id="logo">
    							<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>"  height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="<?php bloginfo( 'name' ); ?>"/></a>
    							<h4 class="site-description"><?php bloginfo( 'description' ); ?></h4>
    						</div><!-- end of #logo -->
    
    					<?php endif; // header image was removed ?>
    
    					<?php if( !get_header_image() ) : ?>
    
    						<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    						<h4 class="site-description"><?php bloginfo( 'description' ); ?></h4>
    
    					<?php endif; // header image was removed (again) ?>
    				</div>
    
    			<div class="social-header col-md-6">
    				<?php unite_social(); // Social icons in header ?>
    			</div>
    
    		</header><!-- #masthead -->
    	</div>
    		<nav class="navbar navbar-default" role="navigation">
    			<div class="container">
    		        <div class="navbar-header">
    		            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
    		                <span class="sr-only">Toggle navigation</span>
    		                <span class="icon-bar"></span>
    		                <span class="icon-bar"></span>
    		                <span class="icon-bar"></span>
    		            </button>
    
    		        </div>
    
    				<?php
    		            wp_nav_menu( array(
    		                'theme_location'    => 'primary',
    		                'depth'             => 2,
    		                'container'         => 'div',
    		                'container_class'   => 'collapse navbar-collapse navbar-ex1-collapse',
    		                'menu_class'        => 'nav navbar-nav',
    		                'fallback_cb'       => 'wp_bootstrap_navwalker::fallback',
    		                'walker'            => new wp_bootstrap_navwalker())
    		            );
    		        ?>
    		    </div>
    		</nav><!-- .site-navigation -->
    
    	<div id="content" class="site-content container">

    Forum: Fixing WordPress
    In reply to: Coding Error
    Thread Starter optionwarriors

    (@optionwarriors)

    Stupid error on my part, missed that. Thanks again.

    Forum: Fixing WordPress
    In reply to: Coding Error
    Thread Starter optionwarriors

    (@optionwarriors)

    Thanks for the feedback.

    Where would the suggested change be implemented to close the anchor link?

    Thread Starter optionwarriors

    (@optionwarriors)

    Never mind – just figured it out. Sorry.

    Thread Starter optionwarriors

    (@optionwarriors)

    Thanks for help – I was able to figure out how to fix everything by adjusting functions.php / content-single.php

    Thread Starter optionwarriors

    (@optionwarriors)

    Not sure if a theme offer its, but I have made a lot of customization to my theme so I am probably not going to switch.

    I was mainly curious if there was some kind of plugin or quick code snippet to make it work.

    Thread Starter optionwarriors

    (@optionwarriors)

    Suparna, I have been adjusting the colors on the theme. At the time of the screenshots, that is how the website looked – sorry for any confusion.

    It is not a commercial template unfortunately. Weird with Firefox, its still showing the spaces on my computer.

    Do you see anything possibly in the source code that would be causing the space in the text?

Viewing 11 replies - 1 through 11 (of 11 total)