• I have just set up my first wordpress site. I am using the Linux Force theme and everything has gone great until right now. I found out that the links are not working at all.

    And also, I try to create categories and pages, but it just wont be published within any of the links. Why is that? Do I have to manually go into the files and direct each link to static pages?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Could you post a link to your blog or to the theme please?

    Thread Starter Marius-

    (@marius-)

    Thread Starter Marius-

    (@marius-)

    bump

    What links are not working? I can follow the link from the one post to the individual page.

    Thread Starter Marius-

    (@marius-)

    You can? Cause I certainly can not. Archives, Search, About nor Downloads work at all.

    1. You can not mix “ugly” and nice permalinks – like /?p=123 and /search
    2. You should NEVER link directly to any template file!!! (like you did with the “archives.php”). That file with that name should be a Page template and you create a Page using the template and you link to that page… /?page_id=321
    3. The same applies to any Page (e.g. About etc.)

    You should NEVER link directly to any template file!!!

    Morning Moshu ??

    He just changed that, when i looked about 5 minutes ago it wasnt pointing to the template file. It was pointing to /archives

    Thread Starter Marius-

    (@marius-)

    What do you mean creating a page template? I go into “Write Page” then I write it, then I select it to appear under “about” but that doesn’t help, so then I copy that link and past it into the a href… still wont work.

    Now its not just that the link doesnt work, but none of the default theme pages will appear at all. Search, About, Archives and Downloads, none of the appears. When I for instance put this in my adressbar https://www.reager.no/search.php then nothing happens, I just get to an errorsite.

    Thread Starter Marius-

    (@marius-)

    Yes I know, I’ve read it. Comon, what do I need to do for the archive and stuff to work? Cant you just say what I need to do? Instead of giving me a link.

    Thread Starter Marius-

    (@marius-)

    Whats that thing about WordPress generating template files for you and stuff? How do you do that.

    It would be much easier if it generate some default files that I could then go in and edit.

    And Moshu, I can sense some form of help in your answer but still I don’t quite know how to practice it. Do you say I shall copy all the code from the archives file and past it into the code part of a post? And then link to that post ?

    As far as I know WordPress does NOT generate any template files. Template files are part of a theme – physically existing .php files… while all your content is in the database and is displayed by the different template files, depending on your query.
    Whenever you create a post or a Page you don’t “generate” anything, except the data is stored in the database.

    Thread Starter Marius-

    (@marius-)

    I added another question just before you answered..

    1. You should never copy any PHP code in a post or Page.
    2. When it comes about Pages in the admin panel at Write > Write Page subpanel you should see on the right the “Page Template” dropdown to select which template to use for different Pages. Warning: the dropdown will show up ONLY if you have the default template (=page.php) plus at least one other Page Template. (As for how to create Page templates read the link I gave above… until you understand it. You can create a zillion Page templates.)
    3. Never mix Pages and posts – they are different animals.

    Thread Starter Marius-

    (@marius-)

    Yes, but first and foremost, Pages are my last concern. I want the WordPress systems to work, the archives and search functions and that stuff.

    Those are not pages are they?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Links not working at all in Linux Force theme’ is closed to new replies.