WordPress.org

Ready to get started?Download WordPress

Forums

Page Load Problem (Twice Loading) (6 posts)

  1. movodesigns
    Member
    Posted 1 year ago #

    Hi Guys,

    I have a problem with a wordpress site, as you can see on http://www.audiophil-berlin.com every page in the menu loads normally and if you click on "VERMIETUNG" oder "VERKAUF" and choose a link, the page which is linked doesnt load correct. It sometimes loads twice or sometimes opens for a part of sec the home page. -.-

    any ideas how to fix that problem ?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    I can't see anything wrong with those pages...

  3. movodesigns
    Member
    Posted 1 year ago #

    when you are on the page "VERMIETUNG" or on the page "VERKAUF", and click on any of the buttons, like Speaker management System or DJ Equipment, the page loads twice or shows the home page first for a short moment. -.-

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    That didn't happen for me using Firefox 19.

  5. movodesigns
    Member
    Posted 1 year ago #

    hmm ok now every page after vermietung/verkauf loads twice, does maybe someone know why there's always a # in the link ?

    edit: and when i put the page in my mainmenu on the left side the page, doesnt matter which one, loads normally...

  6. movodesigns
    Member
    Posted 1 year ago #

    maybe a problem here?
    if delete this, the page is broken but no # in the url and no twice loading---

    <script type="text/javascript">
    
    <?php $multicheck_auto = of_get_option("autoload"); ?>
    
    if (window.location.href.indexOf("#") < 0) {
    	<?php
    	if ($multicheck_auto['homepage_auto'] == "1") { echo "var appearOnLoad = 1; // show home page content is ON";}
    	else if ($multicheck_auto['homepage_auto'] == "0") { echo "var appearOnLoad = 0; //  show home page content is OFF";}
    	?>
    }
    else if (window.location.href.indexOf("#") >= 0) {
    	<?php
    	if ($multicheck_auto['otherpage_auto'] == "1") {echo "var appearOnLoad = 1; // we're not on the home page, show content is ON";}
    	else if ($multicheck_auto['otherpage_auto'] == "0") { echo "var appearOnLoad = 0; // we're not on the home page, show content is OFF";}
    	?>
    }
    <?php if (!($multicheck_auto['homepage_auto']) && !($multicheck_auto['otherpage_auto'])) {echo "else { var appearOnLoad = 0; } // no option checked, hiding content by default";} ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags