Links from the Homepage to the other pages don't work - wordpress

I have experience in designing/developing websites (static/dynamic). But new to wordpress :(. Recently I have created a CSS/XHTML website for a client who wanted it to be lunched using wordpress. I've converted the CSS/XHTML into a wordpress theme as I thought it might be easier than customizing another theme to fit my CSS/XHTML structure. Everything worked well locally. But when I uploaded files into the server (Styles, footer works fine.) homepage opens up fine. But when I click on the link to "about.php" page it doesn't work.
Initially all the links were loading the home page. Then I searched and changed the permalink structure to default and the "about.php" link gave 404 error. Then I replaced the "about.php" link into <?php bloginfo('template_directory'); ?>/about.php as it was adviced in another article. Then it just opens up a blank page.
After struggling for a whole day, still stuck in the links issue. Hope any of you experts could save me. :)
Thanks in advance.

I think you are in wrong way. You have to see the template hierarchy first and then you have to go throught the wordpress administration panel and create your own menus

Related

Content not showing

I am creating a website and I was able to get this page working before. I am not sure when it happened but this specific page only shows a part of the content on the website. I tried the plugins and everything and nothing seemed to help. I did switch themes and that worked but I don't get why it would not work on this specific page. I copied code from another page and it is the same problem. I have deleted the page and created a new one and it is still the same problem even with working code from another page.
I only have a problem with this one specific page.
Does anyone have any idea why this could be happening.
I have deactivated plugins and reactivated them
I tried switching themes which worked but it's not the theme I need.
I took working code pages and copied them into this page and it won't work.
I have deleted the page and created a new one.

Wordpress page URL goes to wrong page

I have a weird issue. I am still somewhat new to WordPress and I have an issue that has me stumped.
I have been working on a site created by another developer. I have been fixing the site map by making sure that pages have the appropriate parents and proper permalinks.
I have a situation where I have a page with the following permalink:
http://passaicschools.org/school-no-2/anti-bullying-info/
The problem is that this link takes me to a different page with a different permalink:
http://passaicschools.org/school-no-1/anti-bullying-info/
I can't seem to figure out what is going on here. You can even type in the first url and it "redirects" (it looks like a redirect but I am not using that term in a technical sense).
Can anyone point me in the right direction on this?
Thanks in advance...
I had a similar issue where I created a services page and when I added it to the top menu it kept automatically redirecting to the blog page.
All the permalinks were fine and nothing was set to have a parent page. I read an above comment and tried a reverse effect of actually giving the services page a parent (I made it the blog page it was automatically redirecting to) and then it went to the services page perfectly fine!
I'm not sure how or why this worked but it fixed the issue so I'll worry about permalink aesthetic later haha
go to settings and then pages then set to link path

Loading wordpress page content in colorbox Iframe

I'm building a Wordpress site using the colorbox plugin.
I'm using text-links which open a webpage in an Iframe. That works fine.
But now, I want to load the content of a certain wordpress page in it, particular an Item portfolio page created with the Nimble portfolio plugin.
I think I have to use some basic code like
Contact
but I can't fix it.
Any suggestions?
Thanks for your sympathizing comments on my first question on stackoverflow.
I'm sorry if my question wasn't clear enough, but the site where the problem shows up is still in development.
But fortunately I've figured it out after a long time:
Next to single.php I created a singe-portfolio.php file, because because of the Wordpress hiƫrarchy, WordPress finally looks for singe-{filetype}.php.
In the Nimble Portfolio Loop, I linked to this file with the following code:
...
In the single-portfolio.php file, I used a regular WordPress loop to get the page content in the JQuery Colorbox Iframe.
Hope this will help someone else!

Wordpress menu not working after update

I purchased the Angular theme for wordpress some months ago for a portfolio site to show off my front-end web dev work (Too lazy to create my own).
I went to update the site last night and noticed that the menu had stopped functioning. If I click on a menu item the URL will change to the URL of the link but the page will remain on the current page and not display the content of the new URL.
My website is http://www.decodedcreative.com.
Does anyone have any ideas or things that I could try to resolve the problem?
I have switched the theme to the twentytwelve theme and the menu then works as expected and have also tried re downloading the entire Angular theme in case I'd corrupted a file.
Any ideas?
Thanks
P.S - I've also tried restarting Apache on my server but to no avail. This question is also asked on the support forum for the theme.
When you are viewing the list of pages in Wordpress, try using the "Quick edit" to edit the page Slug. Even though I had updated the permalink when you use the "Edit" link, it didn't actually update the slug. Updating the slug will fix it.

Wordpress: Posts and pages content not showing but title is

I have a wordpress site which was working all fine but suddenly it got hacked by someone. I immediately deactivate my theme and then after sometime activate it. it got recovered but all contents of pages and posts is not showing up but title is showing. I checked databse tables. It contains all posts, also checked wp-admin. It also contains all data. Also tried by deactivating plugins and then activating it. Dont know what to do. please help me, I badly need it. Pleaseee
here is the link
http://islamiroohanimission.org
index page is okay. But go on any menu. it will give the message no post is found.
go to your functions file and see if they messed with your DEFINE posts to remove those parts of the page.

Resources