• Anonymous User 1846707

    (@anonymized-1846707)


    The “pages” links work but all of the content in them are gone. the html and content is there when i try to edit them in the cp but they just dont show on the site itself. what can i do?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Are you sure the calls are in your template?

    What template are you using? Customized at all?

    <?php if(have_posts()): while(have_posts()): the_post(); ?>
    	<h1><?php the_title(); ?></h1>
    	<?php the_content(); edit_post_link('edit', '<p class="small">', '</p>'); ?>
    <?php endwhile; endif; ?>

    Something similar to the above should appear somewhere in your template files to show page content.

    Also are you seeing anything at on those pages? Are you simply missing the page content, but have headers and footers? Or are you seeing completely blank pages?

    Thread Starter Anonymous User 1846707

    (@anonymized-1846707)

    pretty much, i have everything, except the content itself. like, if i click on “about”, it goes to the ‘about’ page, and says ABOUT at top, but the actual text and anything inside is missing. the rest of the layout and everything is present, except for the actual content.

    where should i be looking for that code? im using a modified version of this theme: https://www.upstartblogger.com/wordpress-theme-upstart-blogger-minim

    also, they worked fine until i was messing around with the directory changes earlier. however, i undid everything i did but the pages problem still persists.

    What directory changes were made?
    Just to be sure, what was modified?

    You should look in the page.php file since that theme has one. That file would handle your pages by default.

    Thread Starter Anonymous User 1846707

    (@anonymized-1846707)

    i edited the index.php and moved it to the root directory. the only change i made to it was that i added:

    require('./wordpress/wp-blog-header.php'); to it. i didnt do anything with a .htaccess since i had no idea where that was.

    i moved it back and removed /wordpress/ from the code, which is how it should have been like before.

    ill take a look at page.php~

    be sure that this line:
    require('./wordpress/wp-blog-header.php');
    was changed back to:
    require(‘./wp-blog-header.php’);
    and not:
    require(‘.wp-blog-header.php’);

    The slash is important.

    when you made that change were you following the directions for moving wordpress to a directory?

    Either way, if you are seeing most of the content, but just not the actual page content, then that shouldn’t be the problem i would think.

    What have you modified in the theme itself?

    Thread Starter Anonymous User 1846707

    (@anonymized-1846707)

    okay, i fixed it! for some reason, that code above wasnt present in pages.php and now after experimenting with it for a while, i got it to go back the way it was before. i dont understand why it got deleted but regardless it should be okay now.

    thanks alot jcrow!

    Thread Starter Anonymous User 1846707

    (@anonymized-1846707)

    the link is https://www.chumuchumu.com/wordpress/

    ive modified just about a lot of things there. i have another domain which i wanted the link to forward to, but i just keep running into brick wall after brick wall.

    pretty much, i want https://www.chumuchumu.com/wordpress/ to forward to https://www.themanrevolution.com but whenever i do, it keeps linking back to the index page for the original URL. somehow i managed to make the redirect work, but whenever you click on any link, it shows the chumuchumu.com/wordpress/ link. i dont know what to do, argh. i followed just about everything on that wordpress tutorial.

    i screwed up at first and i changed both the URLs in the settings to the manrevolution domain and it messed up the whole thing. so i had to mess around in wp-config for a while to get it back to the way it was. im not sure if its my host (godaddy) or wordpress, or both, the reason why this redirection isnt working out.

    You should delete your installation and all the files on chumuchumu.com, and put an htaccess in the root with the following:

    RedirectMatch 301 https://www.chumuchumu.com/wordpress/(.*) https://www.themanrevolution.com/$1

    Everything will redirect to the corresponding page in the new location.

    I have the same issue: new pages appear with no content whatsoever…
    The old pages work but if I change the permalink it goes to Page Not Found

    https://analutetia.com/teste/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PAGES CONTENT EMPTY, what gives?’ is closed to new replies.