• Resolved sritter4

    (@sritter4)


    Hello,

    I am new to customizing wordpress templates and perhaps made a rookie mistake in checking my new code on my site as I was logged in as an admin. When I log out most of my customization still seems to be working, however two elements are now not showing up.

    1) The first missing element is the yellow ribbon. When I’m logged in I see this code:

    ——
    <table class=”home-blocks”>
    <tr>
    <th> <span><h1 class=”block1″> <p>BASELINE </p> <p> CITY SERVICES</p> </h1> <h2> available for all </h2> </span>
    </th>

    <th> <span><h1 class=”block2″> <p>TOOLKIT & </p> <p>CUSTOMIZED SERVICES</p></h1><h2> tailored for you </h2> </span>
    </th>
    <th> <h1 class=”block3″> <p>COMMERCIAL DISTRICT </p> <p> ASSESSMENTS</p></h1>
    </th>
    </tr>
    ——
    However when I’m logged out the <h2> elements disappear and I loose the yellow side ribbon :-/

    2) The custom footer on my index page also seems to be missing when I log out of admin mode. However it remains on the other entry pages

    The page that contains these two issues can be found here: https://investsf.org/wordpress/

    I’m wondering if anyone can help me with where I went wrong?
    Thanks,
    Sarah

Viewing 8 replies - 1 through 8 (of 8 total)
  • Do you have any caching plugins enabled?

    Thread Starter sritter4

    (@sritter4)

    I do have two plugins activated: WP Super Cache and Meta Slider.

    I did clear my cache via the wordpress admin toolbar and in my browser. Is there another step here i need to take within the plugins?

    Thank you!

    The h2 tags aren’t in your output, are you sure they are there after you save the page? Not sure if this is related but it’s not valid html to nest p tags within an h tag. Use
    instead.

    Thread Starter sritter4

    (@sritter4)

    Thanks, webbrewers. I cleaned up that html, but still no luck.

    The h2 tags are only in my output when I’m logged in as an admin. I’ve confirmed they are saved in the template file.

    I’m not sure there is another way to share the issue since I can’t share a screenshot of my site when I’m logged in.

    Thanks for any additional thoughts.

    Thread Starter sritter4

    (@sritter4)

    Also, for missing element #2, you can see the footer I started to work on here (https://investsf.org/wordpress/sample-page/) that should also be linked in the trouble index page (https://investsf.org/wordpress/) but only does so when I’m logged in as an admin.

    At the bottom of you home page (in the source) is this:

    Cached page generated by WP-Super-Cache on 2014-01-19 00:58:03

    It’s near noon in San Francisco, so that cached page is about 11 hours old.

    Thread Starter sritter4

    (@sritter4)

    Ah ha! thanks WPRanger. That was it.

    Just in case it’s an issue for others. On the WP Super Cache Settings>Advanced there is an option “Extra homepage checks. (Very occasionally stops homepage caching) (Recommended)”

    I’m guessing that kicked in since I was refreshing so often.

    I unchecked that box and my new changes are now showing.

    Thanks again.

    Thread Starter sritter4

    (@sritter4)

    resolved. thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Elements lost when not logged in as admin’ is closed to new replies.