• Resolved geekgirl

    (@geekgirl)


    My site is located at lovelatoya.com… The problem I am having is that everytime I click on a link such as “domain”, “links”, “webmiss”, etc…The entire page refreshes instead of the page that I am trying to view. It looks like the entire page is blinking when I would like for the header to stay still. Is there a fix for this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • When clicking a link the page will always refresh. Thats the nature of things i’m afraid. Your browser will call an entirely different page with the same layout you specified within your theme.

    Theres a few ways around it however. The first is to put your header in a frame. Then when you click your links in the body of your post it will only refresh that part and not your header.

    https://www.pageresource.com/html/frame1.htm

    Also you could use AJAX and dynamically load your pages when links are clicked.

    https://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

    Thread Starter geekgirl

    (@geekgirl)

    Thank you for your reply but I was thinking there was a more ‘simple’ way of doing this. When looking at this blog on kisschanel.com her links have the effect that I am trying to achieve. I viewed her code and I don’t see where she applied your suggestions. Can someone tell me how this works?…
    on her navigation she has it set up like…
    href=”https://kisschanel.com/index.php/content/” title=”Content”>Content..etc

    and mine has
    href=”https://lovelatoya.com/?page_id=3″ title=”Links”>Links

    I didnt copy the entire code because it showed up as links here, but could this possibly be the problem?

    The links are the same, in both instances they load another page. Difference is that in her case she uses pretty permalinks (found in your options > permalinks tab). This shouldn’t influence page load speed though.

    Although her page is a lot bigger, kb-wise than yours it appears just to load faster. Maybe she’s on a faster server (connection and database) than you are.

    Don’t know if it makes much of a difference in your case, but you could try using the WP-Cache plugin. It caches your pages and serves them up faster.

    Thread Starter geekgirl

    (@geekgirl)

    I tried that with no luck at all, thank you for responding though. Any more suggestions?

    I think wp_grins may be the culprit. Can you disable it and see if that fixes the problem?

    Thread Starter geekgirl

    (@geekgirl)

    Wow Jamiegrove! That actually worked! Do you know why the wp_grins caused this? and is there another way for me to get clickable smileys?

    Thread Starter geekgirl

    (@geekgirl)

    Thank u all for helping me, I have this figured out. I deactivated the wp_grins and downloaded the custom smiley plugin and it works fine.

    geekgirl: I’m not real familiar with that plugin, but from what I could tell it was putting a script block in the middle of your HTML. That script block was then rolling through the rest of the page and looking for smileys to update. I think that was causing the flicker. Kinda weird though. Glad it worked out!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Theme refreshes when links are clicked’ is closed to new replies.