Okay
  Public Ticket #2590491
Not all COntent Displaying unless I refresh page
Closed

Comments

  • Mark Bonner started the conversation

    Hi ClaPat

    I've built a large Portfolio site using your Satelite theme. I have a small issue now I'm nearing completion which is I experience skipped content when a page is loaded. Sometimes this appears to be the Sliders. (I am often using the Satelite Slider but also I'm using Soliloquy in order to have full screen and auto transition Sliders).

    I am autoupdated by Bluehost to PHP 5.3 recently. I had this issue before and after the update and everything seems to have migrated flawlessly.

    Everything appears as expected once I refresh the page.

    I understand via searching the Tickets (and reading the supplied documentation) that PHP settings may need to be increased.

    I tried to use the suggested plugin but it seems its been removed by WP. I found another (Custom PHP Settings by Cyclonecode) and have adjusted as you recommend in the documentation, but I fear the changes have not verified in user.ini as I can see the values listed and they appear to remain the default.

    This is what I attempted to change to:

    max_execution_time=500
    memory_limit=512M
    upload_max_filesize=512M
    post_max_size=512M
    max_file_uploads=50
    max_input_time=500
    memory_limit=512M
    max_input_nesting_level=100

    Hope you can advise as I need to be assured the full posts will load for all users of course.

    Thanks so much in advance

    Mark

  •  1,823
    Support replied

    Hello Mark,

    Ajax page transitions will load the target page content container within the original page. Since the target page is not loaded normally the <head> and <body> elements will stay the same.

    Since a lot of plugins are using javascript initialisation in the head (or the footer) of the page they don't get called in the target page.

    So the solution in your case, since you are using a third party plugin, is to disable ajax page transitions in customizer -> general settings. Have you tried this?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Mark Bonner replied

    Hi There

    I have tried this yes. It doesn't remove the issue entirely, and it also has a side effect which is that it reveals the 1-100 count a lot more for the user. I would prefer to avoid the UX being broken by constantly watching those numbers.

    I'm interested in adjusting PHP settings, but do you think that will help in this issue?

    Also, I read online in this forum that forcing each page via a custom link could fix this?

    Very keen to find a solution as it is an issue for me at the end of a long process (50 day build) and I'd like to ensure the users of the site do not find the experience disappointing.

    Its a wonderful theme and I have enjoyed working with it immensely, I am just finding this to be an obstacle to a great website. I understand from your note that image size, number of videos embedded etc is not the issue, is that correct? Just want to be through with my understanding.


    Thanks


    Mark

  • Mark Bonner replied

    One more thing springs to mind: 'Target container’, could you define this for me also? I am wondering that if I clean up the site so EVERY element sits within 'Satelite Container' that might help Ajax?

    I am not a developer, but a Graphic Designer, so the coding structure is not easy for me to understand. Could you define for me what content 'remains the same' on each page for Ajax and what content of mine is outside of Ajax's reach? (I assume its the Soliloquy Sliders?) I haven't used any other content plugin outside of the site. 

  • Mark Bonner replied

    Hello Clapat, would be great to resolve this ASAP, thanks in advance!

  •  1,823
    Support replied

    hello Mark, we will process your ticket tomorrow sunday we re off

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  1,823
    Support replied

    Mark,

    I don't want to insist too much on technical details, however here is the thing : a page looks like this

    <html>

    <head>

    ...some plugin init here among others...

    </head>

    </body

    <content container div>

    CONTENT

    </content container  div>

    ...some plugin init here among others...

    <body>

    to achieve the much desired ajax effects the target page container div is loaded in the current container (just replacing the content) and therefore skipping the init in head and body

    So I propose that

    1. when you disable ajax you can shorten length of the preloader time however this will have no effect if the page takes some time to load

    2. or if you have an individual page you can indeed add the page as custom menu link in the menu and then it will load normally without ajax (that's actually a good compromise)     

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Mark Bonner replied

    Appreciated!

    A couple of final questions:

    Shortening the preloader time with the PHP plugin, right? `I find currently that the ini file does not get rewritten due to Bluehost's folder structure, but I guess I can resolve that manually by overwriting via FTP. Cna you explain why SHORTENING it might help? Seems counter-intuitive as I'd assumed it should be LONGER.


    Custom page links: is this simply a case of entering each page using the Satelite Portfolio URL into the 'Next Page' field within the theme? Or does it require me to make a 'menu' page for each and every project in my portfolio and cut and paste the WP blocks into the new 'page'?


    Just want to be sure what steps to take.


    M


  •  1,823
    Support replied

    Hello MArk,

    1. shortening the preloader time:

    the preloader is displaying the animation while waiting for the content to load. However it cannot be made faster than the content loading. What you can change is several timeouts in order to speed up the animation. Otherwise you should work on making the page loading faster.

    https://clapat.ticksy.com/article/8082

    2. what I meant is adding the page in the menu as custom menu link

    https://easywpguide.com/wordpress-manual/appearance/updating-the-menu/adding-a-custom-link-menu-item/

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy