Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi..
    Does this happen with all pages?
    Do you have a page and post with the same name (and slug)? You made changes to permalink hence asked. They would clash if so.
    Do tell us exactly which file (like page.php or content-page.php or category.php) you edited.
    I hope you were working on a child theme. So what was the previous block of code? And what did you replace it with?
    And finally, what is it that you wanted to be done exactly? As in, the image and paragraph are static content hardcoded into code, or dynamic content fetched from WP DB or other sources?

    Currently your content area (within div id=”content”) code is rendered as:

    <!-- BEGIN: CONTENT -->
    <div id="content">
    <h2>Blog</h2>
    <h3><span style="color: #800000;">Designing Strategies:  The Blog</span></h3>
    contents.......
    <span class="article_seperator">?</span>
    <!-- END: MAIN CONTENT -->
    <!-- END: CONTENT -->
    </div>

    Thread Starter tlmaurer

    (@tlmaurer)

    Thanks for your response, shadez.

    No, this isn’t happening with any other pages… never touched them, so they are still all OK.

    Don’t have a Page and Post with the same name (and slug). Should not be an issue.

    I think what caused all of this mess is that I was attempting to make the change in the Dashboard ‘Page’/’Editor’, not in the ‘Appearance’/’Editor’/”template’.

    The way my site was set up originally, the customized theme was set up to be the same on all pages except my blog page. It is not set up as a Child Page, just a ‘different’ page (different content in the side bar from all other pages).

    As I mentioned above, I was operating in the Page/Editor, not the Template Editor, so I really didn’t delete any code that I was aware of.

    Wanted to add the ‘badge’ and text to the top of the Blog page, assuming the blog posts would show up below that. Right now, the most current blog post ‘used’ to show up on the page, followed by earlier posts.

    I have a Page.php (for all pages on site except the Blog page) and a Single Post version as Single.php. The content code on the Single.php is:`

    <!– BEGIN: CONTENT –>
    <div id=”content”>

    <?php while (have_posts()) : the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <?php the_content(); ?>

    <?php comments_template(); ?>

    <?php endwhile;?>

    <span class=”article_seperator”> </span>

    <!– END: MAIN CONTENT –>

    <!– END: CONTENT –>

    I have both ‘current’ and ‘backup’ files for each of my templates pages, but notice that the backup version of the Blog/Single.php file is no longer there.

    Hope this makes sense to you. :0)

    Ok so your pages and posts are working properly.
    So no harm done to anything except to your blogs page – https://www.maurerconsultinggroup.com/designing-strategies-blog/.

    Since you mentioned that you made changes to the page via editor, we can isolate the case of you editing the respective php files.

    Try,
    1. Switch to a different theme (say twenty fifteen), visit site, and then switch back to your ‘Maurer Consulting’ theme. Clear cache if you have. Then check.

    2. Go to your dashboard. go to Pages -> All pages. Now open the blog page (the one corresponding to https://www.maurerconsultinggroup.com/designing-strategies-blog/) in editor.
    On right-hand-side, look for the ‘Template‘ dropdown box in ‘Page Attributes’ block (It should be right under Update button and parent dropdown box).
    Look for template named Blog page or Homepage or any similarly named ones which you guess could be used for this page. Change it to that (remember the current template as well so you can switch back later if not working). Update page, clear cache and check.
    Note: If you have CDN then give it some time to purge (as in, it might take upto ~4hours for page to show new contents).

    3. Open your Blog Page in Editor and copy-paste all the contents here so we can check. Basically we are looking for php embed codes within coz there are some plugins which support php editing in ‘text’ view in editor. This is highly unlikely but just in case. You can either paste the contents here using back-tick’/`’ or paste it in wordpress.pastebin.com and share link.

    if all of this doesnt work then we can dig into permalinks and if somethings messed up there…

    Thread Starter tlmaurer

    (@tlmaurer)

    You just leaped miles ahead of my comfort zone, Shadez…. ‘switch to a different theme’, then switch back”. Clueless. “Clear cache”… clueless… don’t know if I have one or now to find it.

    I can’t access the ‘templates’ from Pages/Editor… my Attributes box doesn’t have that. The only way I can get to the ‘templates’ list is through my Appearance>Editor. That I can get to. There is also, right above the list of templates, a drop down menu of Themes. Is this what you were talking about?

    My back up is set to work every hour. is that what you meant by ‘remember the current template as well so you can switch back later if not working’? Don’t know what CDN is or if I have it.

    Here is what is on the Blog page now… (just the badge and some text)

    `<h3><span style=”color: #800000;”>Designing Strategies: ?The Blog</span></h3>
    <img class=”alignleft wp-image-1525″ src=”https://www.maurerconsultinggroup.com/wp-content/uploads/2010/06/best-small-business-blog-218×300.png&#8221; alt=”best-small-business-blog-2015″ width=”143″ height=”197″ />The Designing Strategies blog was created to provide timely, useful and actionable small business strategies to assist small business owners and managers?charting their strategy toward growth and success. ?We are proud to announce that our blog was named to the Best Small Business Blogs – 2015 by ?Fit Small Business. ?Read, take notes, enjoy – and share ?with your small business colleagues.

    Thats the very basics @tlmaurer.
    I suggest you read up a bit about WordPress before you proceed any further. Some pointers:
    https://codex.www.ads-software.com/Themes#Selecting_the_Active_Theme
    https://codex.www.ads-software.com/Pages#Page_Templates
    https://codex.www.ads-software.com/Getting_Started_with_WordPress
    You need atleast a basic understanding of the admin dashboard and how stuff works.

    Alternatively you could hire a developer who can look into your code and wordpress setup and get things fixed. Dont pay huge, this is minor level for a WP dev. Try https://jobs.wordpress.net/ or https://directory.codepoet.com/ or any other online freelance marketplace.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blog posts don't show on edited Blog page’ is closed to new replies.