Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • I am using this plugin and that is an unfair rating to give because you didn’t read the instructions. You have to have an email field in your form to set the customer email. Just saying that it’s so simple and not a reflection of the plugin at all.

    Thread Starter esilk

    (@esilk)

    Thanks Mark, but that did not work either.
    Here is the url:
    https://www.milnerheights.ca/lattice-interactive/

    I tried this in both the htaccess in the root and in the sub-directory and neither worked:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /lattice-interactive/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /lattice-interactive/index.php [L]
    </IfModule>
    # END WordPress

    Could it be something in the existing/root htaccess? I’m really not familiar with this…

    • This reply was modified 8 years, 5 months ago by esilk.
    Thread Starter esilk

    (@esilk)

    I also tried this in the .htaccess of the sub-directory and it also did not work:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter esilk

    (@esilk)

    This is running on a Windows server

    Thread Starter esilk

    (@esilk)

    Updated file permissions to resolve this

    Thread Starter esilk

    (@esilk)

    Thanks Labcat – would you be available to hire to do this?

    Thread Starter esilk

    (@esilk)

    I updated the links using the permalink function and it seems to work just fine:

    <div class="menu-main-navigation-container">
    <ul id="primary-menu" class="nav-menu">
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26"><a href="<?php echo esc_url( get_permalink(12) ); ?>">Residential</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a href="<?php echo esc_url( get_permalink(14) ); ?>">Commercial</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="<?php echo esc_url( get_permalink(16) ); ?>">About</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-23"><a href="<?php echo esc_url( get_permalink(18) ); ?>">Blog</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22"><a href="<?php echo esc_url( get_permalink(20) ); ?>">Contact</a></li>
    <li id="menusocial" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-999"><span class="followus">Follow Us </span>
    <a href="<?php echo get_option('facebook'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/facebook.png" alt="Like us on Facebook" /></a>
    <a href="<?php echo get_option('twitter'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter.png" alt="Follow us on Twitter" /></a>
    <a href="<?php echo get_option('instagram'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/instagram.png" alt="Instagram" /></a>
    </li>
    </ul>
    </div>

    CSS is unchanged from the above – which is added to the /* Small Menu */ block in the twentythirteen style.css.

    I also renamed the theme folder to “boulevardgroup” so that it won’t be affected by future updates.

    Thread Starter esilk

    (@esilk)

    https://boulevardgroup.ca/dev/
    I managed to hard code it but its not the most elegant solution:

    <div class="menu-main-navigation-container"><ul id="primary-menu" class="nav-menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26"><a href="https://boulevardgroup.ca/dev/index.php/residential/">Residential</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a href="https://boulevardgroup.ca/dev/index.php/commercial/">Commercial</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="https://boulevardgroup.ca/dev/index.php/about/">About</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-23"><a href="https://boulevardgroup.ca/dev/index.php/blog/">Blog</a></li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22"><a href="https://boulevardgroup.ca/dev/index.php/contact/">Contact</a></li>
    <li id="menusocial" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-999"><span class="followus">Follow Us </span>
    <a href="<?php echo get_option('facebook'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/facebook.png" alt="Like us on Facebook" /></a>
    <a href="<?php echo get_option('twitter'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter.png" alt="Follow us on Twitter" /></a>
    <a href="<?php echo get_option('instagram'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/instagram.png" alt="Instagram" /></a>
    </li>
    </ul></div>

    CSS:

    li.menu-item-999 {
    		padding: 12px 20px 12px 20px;
    }
    
    .toggled-on .nav-menu .menu-item-999 li > a,
    .toggled-on .nav-menu .menu-item-999 a {
    	color: #fff;
    	display:inline !important;
    	padding: 15px 3px 15px 3px;
      margin:0 !important;
    }
    
    span.followus {
      padding-right:15px;
    }

    I’m open to suggestions if there is a better way
    Thanks

    Thread Starter esilk

    (@esilk)

    It’s a modded twentythirteen theme

    Thread Starter esilk

    (@esilk)

    Awesome Samuel – that works perfect. Thanks so much!

    Thread Starter esilk

    (@esilk)

    Adding the javascript fixed the sort order for countries, but now the Select Country option is down the list instead of first:
    https://electricsilk.com/dev/loewen/index.php/dealers/

    Thread Starter esilk

    (@esilk)

    Electric Silk Dev Page

    Actually the FTP failed and when the file is replaced, there is nothing in the list…

    Thread Starter esilk

    (@esilk)

    Samuel – here is the pastebin link:

    pastebin dot com/wx8n6Crv

    Thread Starter esilk

    (@esilk)

    I see now when I look at the source it’s using the two letter code for the country, and Spain is ES and United Kingdom is GB, so that is why they are listed after Estonia and not in the correct place.

    Still not sure how to fix it though…

    Thread Starter esilk

    (@esilk)

    electricsilk dot com/dev/loewen/index.php/dealers/

Viewing 15 replies - 1 through 15 (of 20 total)