Hello: I'm creating a site without a blog. I have my header and footer created as I want. I've added all the pages that I need for the site. I have three issues: 1. All the pages appear as links in a horizontal nav bar. Is there a way that I can show about 5 links horizontally and the rest vertically along the left side of the content? If so, how? 2. When I created my pages, I entered my content for each page in the editor. When I go to view the site, I click on the long line of horizontal links, and the pages are empty. What bit of code do I need to include in my content div in the index.php file which will display the content for each page? 3. When I was viewing my website, I noticed that the URL in the address bar shows page_id with a number. Is there a way to change the URL in the address bar so it displays the name of the page I'm viewing? Thanks for the help
Firstly, anything is possible with Wordpress But it all depends on how easy it is to do. 1. It depends on the theme you have and if it has a sidebar on the left and if your theme supports custom navigation menu. With the custom navigation menu you will be able to choose what links show in the horizontal nav menu. However, in the sidebar by default if you add the widget for "Pages" it will display all of your pages. However, you can just use the "text" widget and manually create your sidebar links using HTML within that text widget. 2. Not sure what you mean. Do you have a URL we could checkout? So it is all pages are showing up blank? Displaying the content usually wouldn't be affected in anyway by a div. But it should be working be default. Do you mean: get_template_part( 'loop', 'index' ); 3. Under settings in the admin panel there is permalinks you could enable. There are many different features you can setup with this, but typically you can just have it show the title of your page in the URL or even set it to whatever you like.
Can you make the categories posts instead of pages? That would be the easiest. If not you can try a plugin like "page links manager". I haven't used it in several WP updates so I'm not sure it works with the current version (someone said it was supposed to be buggy). If it also removes the links in the sidebar you could always use HTML in a text widget. As for adding a div tag to the index.php? Why do you need to add anything... just create the page. Forgot to add to create a static homepage - FIRST create the page, then go to Settings/Reading and select it as the front page. Also use the page widget, if that doesn't work then hardcode it in a text widget in HTML.
1. In the plugin search bar search for exlude page plugin and in the menu bar reaarange the needed page and the one you dopnt need. 2. at time when plugin set up overlap on each other, you will have your co9ntent not showing e.g if you are using Easy adsense plugin or and other content or html plugin on top of your content, increase the pixels gap between the content the plugin content. 3. as written above by "samie" look at the settings tab for Permalink tab and customize your link as you want it to appear. eg (for post tile only) - /%post5%/. best regards.
Hi, Thanks for the reply. I'm not using a pre-defined theme. Since I'm not using the blogging feature, I was advised to create my own theme. My header consists not only of an image it also has links to other pages as well as text. I was told that my entire header would need to be an image in order to be uploaded. So, I was better off to create my own. I'm new to WordPress so I'm picking my way at things. In the dashboard, under appearance, most themes show Menu, Header, Footer, Editor as well as Themes to edit. The only thing I have is Themes. So, I'm not quite sure how I can go about creating a custom menu. I noticed that there is a widget for it and when I move it to the sidebar, I don't see an Edit link or anything. I'm quite at a loss right now as to what to do. As for the blank pages, I'm sure that my index.php must be missing some function(s) that checks for pages and displays the content within those pages. I just can't seem to find any documentation on the different functions allowed in WordPress. As you mentioned in you reply, get_template_part, I can't locate a list of these along with a description so I can pick my way through them. I guess the advice I received was properly not accurate nor correct.
When you're creating Permalinks, it doesn't matter if it's a page or a post, they both pretty much work the same. You stated that you wanted to create a custom menu, so it would be in the 'menu' section when you're under appearance. The Wordpress website has tons and tons of documentation that's probably been gone over many many times. But really it's hard for us to make a judgement on exactly what is causing your blank page issue without seeing it for ourselves or being able to examine the coding. By default it should all work unless you are doing custom changes to your site. And are you trying to say that we're not providing accurate information? Your questions seem to be getting answered properly to me. But if you need us to elaborate more then feel free to ask. But I don't think your blank page issue can be fixed blindly without knowing what's going on.
No, no, no....this project was turned over to me. The person who originally was asked to do this provided me with the information. That is why I came to the forums because I know I would get better help. I'll figure this out on my own, I guess.
Or you could listen to our advice I don't know what better advice you're looking for. Wordpress isn't that difficult to use you know.
When you're creating Permalinks, it doesn't matter if it's a page or a post, they both pretty much work the same. You stated that you wanted to create a custom menu, so it would be in the 'menu' section when you're under appearance. The Wordpress website has tons and tons of documentation that's probably been gone over many many times. But really it's hard for us to make a judgement on exactly what is causing your blank page issue without seeing it for ourselves or being able to examine the coding. By default it should all work unless you are doing custom changes to your site. Quote Originally Posted by fullfocus View Post I guess the advice I received was properly not accurate nor correct. And are you trying to say that we're not providing accurate information? Your questions seem to be getting answered prope
Hmm, I thought long and hard to reply. For one, thanks for the help I was given. Secondly, I strongly advice that you read posts clearly and completely. In my original post, I in no way indicated that you or anyone on this forum gave me bad advice. You are taking posts way too personally which in turn makes everyone adversarial especially when there is no need to be. In my replies, I also indicated that no one gave me bad advice from this forum and yet you still continue to defend yourself. Get over it..... If the admin of this forum reads this, please delete my account. I will no longer be using this forum for help. It has been an extremely unpleasant experience.
Ok assuming this guy comes back: I think people are misunderstanding you, maybe they're drunk because it's Easter, I wish I was In your index.php, within "the loop", you should be calling the_content() which, as the name suggests, displays the content of the current post or page. If all you've got finished in your custom theme is the header and footer, you might want to look into getting some sort of base theme that already includes the "WordPressy" bits of code, then you can just change the actual HTML and CSS. It might save you a lot of trouble down the line if this is literally the first time you've looked at WP code. I've heard good things about Starkers. Now, the reason the only link you have in your appearance menu is "themes" is because the others are all generated depending on what your theme supports. Since you haven't added support for custom menus yet, the menu link won't appear. Simples! Here's a good tutorial on implementing custom menus. I honestly don't know what got into people in this thread, there are plenty of helpful people here though so don't give up on us just yet! Edit: Just to rub salt into the wound, there's no reason to create a custom theme just because you don't want a blog. You could have just used pretty much any theme and set a static page to be your homepage. Next time whoever gave you that advice tries it again, have them shot
Hi, Happy Easter! At this point, I wish I was drunk as well. Thank you for your encouraging words. I located the documentation on the WordPress website about the "WordPressy" bits of code. So, I'm slowly plugging my through to see which ones I need to implement. I also started looking at some of the code in other themes to see what I'm missing. It's a big jigsaw puzzle. I've started to also play around with some of the themes and try to modify them to what I need. Thanks for your time. I'm going to look at all the links you gave me and move on from there.