Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with Wordpress

Featured Replies

Hi

 

Im not sure whether this is the right place to post but does anyone here know how to create a page using wordpress. Yeah sounds a stupid question but I can't seem to get them to link. For example my homepage is there I want to click on a link but the link doesn't work on the page I want.

 

Any Help

Hi

 

Im not sure whether this is the right place to post but does anyone here know how to create a page using wordpress. Yeah sounds a stupid question but I can't seem to get them to link. For example my homepage is there I want to click on a link but the link doesn't work on the page I want.

 

Any Help

 

 

hi, can you post a link for us to see?

 

Brian

Hi finnan3

 

A link would be helpful.

 

Is it creating the page, creating a link to your page, or creating a link from your page that you're struggling with as it is not clear from your description?

 

Eris

P.S. I have moved this topic to the CMS forum.

  • Author

Sorry Guys.

 

Here is the Link If you click the "About me" link on there it doesn't work were as it was and even on the main page were you see a text and image you click that and the Link also doesn't work. Im not sure what I have done.

When you go to; Admin Area -> Pages -> Edit Page -> [Your 'about page' name]

What's the 'permalink' field displaying?

You're within the Wordpress administration area when you say 'click on the About Me link'?

You could try re-creating your .htaccess file - go to; Admin Area -> Settings -> Permalinks -> Save Changes

 

Also, what are your Permalinks settings at current?

  • Author

You're within the Wordpress administration area when you say 'click on the About Me link'?

You could try re-creating your .htaccess file - go to; Admin Area -> Settings -> Permalinks -> Save Changes

 

Also, what are your Permalinks settings at current?

 

My permalink was at "Month and name" but I have changed it back to "default" and it seems to be working.

 

How do I get my links to link the page with a Catergory for example If I wanted to post in a certain catergory.

My permalink was at "Month and name" but I have changed it back to "default" and it seems to be working.

 

How do I get my links to link the page with a Catergory for example If I wanted to post in a certain catergory.

 

Make a parent page then when you want a page to be a child of this parent page, simply choose to make it so by using the drop-down menu on the right of the WP add page area.

 

screenshot20100127at194.png

 

Alternatively, use posts (the blog).

  • Author

I have tried it but don't get what you mean. It probably is something simple I just can't figure it out.

Again you haven't made yourself very clear - what are you trying to achieve exactly? As far as I understand it AndyL's solution is the solution. Pages can be the children of other pages which are their "parent page" but they don't have categories per se.

 

What are you using to create your links/menu?

 

Are you trying to create a post that belongs to a category, or create sub navigation for your pages?

 

Regarding "Pretty urls" that is making your url not include ID numbers, try configuring them again using the permalinks option in the Wordpress settings.. set them to a simple example option. If they stop working then the rewrite module for apache is not available.

 

Try turning it on by going to the folder that your wordpress is on, finding the .htacccess file and placing this at the very top:

 

RewriteEngine On

 

There is lots more help for this issue on this page: http://codex.wordpress.org/Using_Permalinks

Edited by ErisDS

  • Author

Again you haven't made yourself very clear - what are you trying to achieve exactly? As far as I understand it AndyL's solution is the solution. Pages can be the children of other pages which are their "parent page" but they don't have categories per se.

 

What are you using to create your links/menu?

 

Are you trying to create a post that belongs to a category, or create sub navigation for your pages?

 

Regarding "Pretty urls" that is making your url not include ID numbers, try configuring them again using the permalinks option in the Wordpress settings.. set them to a simple example option. If they stop working then the rewrite module for apache is not available.

 

Try turning it on by going to the folder that your wordpress is on, finding the .htacccess file and placing this at the very top:

 

RewriteEngine On

 

There is lots more help for this issue on this page: http://codex.wordpress.org/Using_Permalinks

 

What I have bolded is what I am trying to do.

 

Look for example I have made a "Match Reports" page right. So I then create a Category called "Match Reports".

 

So If I was making a new thread on my blog how would my post go into that page when there is no link between them, look here is a screenshot.

 

hmmc.png

The arrow is showing the catergory but how do I link my page to it so my thread with go in there, because it just shows up on the latest news page which is my homepage and not on the Match Report page were I want it to go when I view there.

You've sort of answered your own question

 

how would my post go into that page when there is no link between them

 

Posts are posts, categories are categories, pages are pages. Pages are not categories.

 

I am actually experimenting with this problem at the moment (I want a page which shows a specific category of posts). However the published solution doesn't work with paging (i.e. going back to older articls so "Page 2, page 3" of the posts.

 

When I have gotten a working solution I will post it here for you.

Edited by ErisDS

  • Author

Like if you look at my blog you will see the links I have ie Match Reports, Latest News etc but I click on the link it works.

 

But If i want to create a Topic and just say post it in the Match Reports there is nothing there it comes up on the homepage which is fine but I want my members to be able to read it in the category suitable and I want my editors to be able to have the option of putting it in that category were it should be rather than always on the front page with none of the links working.

Solved.

 

ErisDS - Wouldn't you be able to create a custom page template?

Solved.

 

Solved how? Just writing "Solved" in bold is not very helpful to other forum users!

 

ErisDS - Wouldn't you be able to create a custom page template?

 

 

Yes on the custom page template question. Actually I created a custom category template just to make sure that it always worked, but same principle. Yesterday evening I was having a problem with the code I was using as it would display the first page of posts for a category, but wasn't honouring the "paged" variable. It was a small bug but I didn't have time to post the solution once it was fixed.

 

My solution is as follows:

 

Imagine you have a category called "My Category" (which has an ID of 2) and a page also called "My Category". For both the slug is "my-category". You want to list all posts that belong to the "My Category" category on the "My Category" page. (One reason this is required is if you want to build complex navigation using wp_list_pages etc).

 

I created a custom category template - the naming convention for this means that it's called category-my-category.php

 

My custom template has exactly the same code in it as my standard blog list/news page (index.php) except that at the top of the page I have the following:

 

<?php
/*
Template Name: Custom My Category Template
*/


$catID = 0;
if (is_page('my-category')) 
{
 $catID=2; //this should be the id of the category
} 

if ($catID) 
{
  $page_num = (get_query_var('paged')) ? get_query_var('paged') : 1;
  query_posts("cat=$catID&paged=$page_num");
}

?>

 

This could be abstracted to make sure that it works for any page that has a slug that matches a category slug and in fact there's no real reason why it has to be in a custom template, as it will only work if it's used on the right page. To use it as a custom template you need to make sure that in your Wordpress backend you set the page to use this template.

Edited by ErisDS

  • Author

Solved.

 

ErisDS - Wouldn't you be able to create a custom page template?

 

Yeah thanks for your help on this buddy, one of the best around. :clapping:

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.