Content not showing - wordpress

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.

Related

I archived a wordpress site in a subcatalog and now the languages are not working properly

I hope I'll get a solution for my problem here. I'm working on some festival website - it's based on a theme that was custom made for them few years ago. And every year the website used to be updated for the new edition and and the old page moved to a subcatalog named with a year. So I had no troubles with the update - of course I've created a new database and haven't touched the old one. The problem I'm having is about the archived website. And I think the qtranslate plugin is causing it.
The main page is working well. But all of the subpages are not working at all - they cant be found. And I think that's because somehow there is a redirection or something so that instead of adress like "mywebsite.com/2021/en/subsite" the final one is "mywebsite.com/en/2021/en/subsite". Is there a way to change it? For sure it is. I just dont know why this is happening.
I tried disabling the qtranslate plugin but the website is multilingual so it was a big mess.
anyway, when i disabled it, all of the navigation buttons redirected me to the current page that has been located in the main catalog.

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

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

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

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.

wordpress page template not loading as front page

I have a page template set up as the front page but it's not loading for some reason. I've done this plenty of times in the past just fine.
I should be getting a body class of "portfolio-page-template" but rather I just get the regular "page-template".
I've tried resetting the permalinks, deleting/recreating the Portfolio page, changing back to the default theme and changing back, and still no dice.
Anybody know of a fix?
Need more info.
Did you save it as home.php did you override it in the settings? http://img.lajlev.dk/5a842c1e3dc470468c322af0fe79c004.png
Had a similar problem, and while it’s not an eloquent solution but when my working home page template started defaulting to my taxonomy.php template without reason, I tried all of the things you mention and then:
deleted the taxonomy template,
deleted the .htacces and refreshed the permalinks
selected and set the page-template-home.php again
noticed all was well
put my taxonomy template back and surprise - everything worked
very strange.
If this is not your issue, I can give you a few pointers on what to check for when setting up a custom page template, and what to check for if it fails.
Check the status of theme path or theme sittings

Resources