Viewing 11 replies - 1 through 11 (of 11 total)
  • The class associated with the links on the two pages in question are different than on any other page on your site.

    Change the class on the properties for sale page to menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-38 current_page_item menu-item-146 and on the properties for rent page to menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-38 current_page_item menu-item-156

    That should take care of your problem.

    Thread Starter david sazn

    (@marabouda)

    Thanks a lot Paul,
    i’ll try it now ??

    Thread Starter david sazn

    (@marabouda)

    Hi Paul,
    as i said before i’m not programmer (sorry)!!

    this is the code of the template page:
    <?php
    /**
    * Template Name: Listings SALE
    *
    * This is the template for “Listings SALE” search results page.
    *
    * @package PlacesterBlueprint
    * @subpackage Template
    */
    ?>
    <?php include_once(“analyticstracking.php”) ?>
    <div class=”inner”>

    <!– Search Form –>
    <section id=”full-search”>
    <h3><?php _e(‘Search Our Properties for Sale’, ‘tampa’); ?></h3>
    <div id=”full-form”>
    <?php echo PLS_Partials::get_listings_search_form(‘context=listings_search&ajax=1’); ?>
    </div><!– /#full-form –>
    </section><!– /#full-search –>

    <div id=”main” role=”main”>
    <section class=”listing”>
    <h3><?php _e(‘New Listings’, ‘tampa’); ?></h3>
    <?php echo PLS_Partials::get_listings_list_ajax(‘crop_description=1&context=custom_listings_search’); ?>
    </section><!– /.listing –>
    <?php PLS_Listing_Helper::get_compliance(array(‘context’ => ‘search’, ‘agent_name’ => false, ‘office_name’ => false)); ?>
    </div><!– /#main –>

    Where do i have to change the class ?
    (i tried at the div section, but it didn’t work).

    i also checked inside the different style.css files witout found any meny-item section :\

    Regards,
    David.

    Thread Starter david sazn

    (@marabouda)

    to give you all informations,
    this is the way we found to access the sale or rent page:

    first the menu was pointing to the normal page (but no filter yet, so rent and sale in the same time), i selected type “sale” then copy the link in the browser address bar.
    i did the same with the rent page..

    then, i remove from the menu the page “sale” and “rent”, and add custom link (the links i copied before).

    i’m not sure it can help you much, but maybe it’s important.

    ps: when i check the source code of the page, i see exactly what you mean, but i really don’t know how to change it ??

    regards,
    David.

    Hello, I am new to these support threads and need help with a similar menu issue.

    I need to add a page to a dropdown menu in the nav bar which I have done previously and now have forgotten.

    My site is wwww.tempomusicschool.ie, I have a classes menu in the nav bar which has a drop down with a list of instruments and I need to add cello to this list.

    I appreciate any help with this,

    Regards,

    Rob

    marabouda – you should be able to change it in your header.php file

    fluteplayer – unless I am mistaken, it looks like cello is already in the list

    thanks Paul, I figured it out, very easy in fact…

    Thread Starter david sazn

    (@marabouda)

    Hi Paul,
    in different folders i have header.php file:
    \wp-content\themes\tampa\header.php
    \wp-content\themes\tampa\options\header.php
    \wp-content\themes\tampa\blueprint\templates\header.php
    \wp-content\themes\tampa\blueprint\options\header.php
    \wp-includes\theme-compat\header.php

    the ones in /tampa folder and /tampa/blueprint/template point to the file menu-primary.php
    <?php PLS_Route::get_template_part( ‘menu’, ‘primary’ ); ?>
    this for the file in tampa folder

    <?php PLS_Route::get_template_part( ‘menu’, ‘primary’ ); // Loads the menu-primary.php template. ?>
    this for the other one.

    the file menu-primary looks like:
    <?php
    /**
    * Primary Menu Template
    *
    * Displays the Primary Menu if it has active menu items.
    *
    * @package PlacesterBlueprint
    * @subpackage Template
    */

    pls_do_atomic( ‘before_menu_primary’ ); ?>
    <nav class=”main-nav grid_12 alpha” role=”navigation”>

    <?php pls_do_atomic( ‘open_menu_primary’ ); ?>

    <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘container’ => ”, ‘menu_class’ => ‘primary’, ‘link_after’ => ‘<span></span>’ ) ); ?>

    <?php pls_do_atomic( ‘close_menu_primary’ ); ?>

    </nav><!– #menu-primary .menu-container –>

    <?php pls_do_atomic( ‘after_menu_primary’ ); ?>

    is it the file i have to change ?
    also, how to add the changes you told me before ?

    if you need the script of each header.php file, let me know, i can to post it.

    Regards.

    Thread Starter david sazn

    (@marabouda)

    all other header.php files care only the title, subtitle, email, phone, etc.. but only the 2 files i told you before include the navigation menu ??

    Thread Starter david sazn

    (@marabouda)

    in case of,
    there is a link where you can download the different header.php files (in their own folders), with also the menu-primary.php file and another navigation.php file.
    the website is working and i’m not programmer that’s why i prefer to ask you advices (if i do something wrong christmas will sounds sad to me ?? ):
    https://www.emeraldcayproperties.com/header.rar

    Regards,
    David.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Menu and custom URLs’ is closed to new replies.