Quick Wordpress PHP programming Queries.

4 replies
Ok on my wordpress looking from a text viewer my all of the beginning of the document is links around my site..

I guess it suits me to say, not very user friendly if perfectly honest.

I'm wondering about changing the code around so that the main page menu's will only become before the actual page content when viewed using a text viewer.

Is it just simple movement of code, to replace one piece of codes position with the other, and the layout of my site won't break?

I guess it is because of CSS.. maybe I shouldn't even ask and just do it lol
#php #programming #queries #quick #wordpress
  • Profile picture of the author Teli
    Hi Intrepreneur,
    If I understand you correctly, you're only worried about Text Viewers specifically, not necessarily browsers which render the page with design? If that's the case, then you'll want to move whichever links beneath the content and then use some CSS hackery to style the site as you wish to have it laid out. That would be the best option, so when the CSS is removed, the text displays as you wish.

    Unfortunately, that's as much advice I can offer without more specifics...sorry.
    {{ DiscussionBoard.errors[838481].message }}
    • Profile picture of the author Intrepreneur
      Originally Posted by Teli View Post

      Hi Intrepreneur,
      If I understand you correctly, you're only worried about Text Viewers specifically, not necessarily browsers which render the page with design? If that's the case, then you'll want to move whichever links beneath the content and then use some CSS hackery to style the site as you wish to have it laid out. That would be the best option, so when the CSS is removed, the text displays as you wish.

      Unfortunately, that's as much advice I can offer without more specifics...sorry.
      Yes you've hit the nail on the head..

      What I wonder though and know that this is happening, because, Get Sidebars etc is before the actual post content in the PHP code.

      Can the get sidebars be placed after the the code that calls the post content and it won't brak my theme?

      Cheers.
      {{ DiscussionBoard.errors[838785].message }}
      • Profile picture of the author Teli
        Originally Posted by Intrepreneur View Post

        Can the get sidebars be placed after the the code that calls the post content and it won't brak my theme?
        In most themes, it is placed after the content. But, yes, you can safely move that code, however, you'll need to modify the CSS in order to accommodate the change. Or, choose another theme that does what you like and dissect it.

        Unfortunately, I can't give you "do this, then that" instructions without seeing the theme or code involved. :/
        {{ DiscussionBoard.errors[838822].message }}
  • Profile picture of the author edynas
    Banned
    In css you can move all around to your liking but don't you thnk that if somebody uses a textbrowser they are used to seeing sites in a differnt way and don't mind the links first?
    {{ DiscussionBoard.errors[842069].message }}

Trending Topics