• Hello, I’m in the middle of creating my first WordPress website, previously I used Weebly.

    I was really proud of myself as I had managed to make quite a few changes, add plug ins etc. and then i decided I wanted to get rid of the ‘posted by’ and ‘date posted’ line at the top of the blog page. I had a search on the internet and thought the following line of code

    <p class=”postmetadataw”>Posted by: <?php the_author_posts_link() ?> | on <?php the_time(‘F j, Y’); ?></p>

    Was the bit i should remove. I did this, and since then when I click on the pages that are using the blog template I get a message saying, sorry we couldn’t find anything to match your search. I thought i was being clever as I took a screen shot of where the data was that I’d taken on the blogg.php and the fblog.php however, when i put them back in my pages are still showing the ‘sorry we couldn’t find anything to match your search’.

    I could cry as I was just about ready to start writing the content. Please can you help me!

    Oh I also tried deleting the theme and then reinstalling it but it remembered everything from before 🙁 Please help!

    Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter madsonis

    (@madsonis)

    Sorry I forgot to add a link to my website http://www.madsoninterimsolutions.com

    When I go to http://www.madsoninterimsolutions.com/blog/ I see the standard first ‘Hello World’ post there.

    Thread Starter madsonis

    (@madsonis)

    Hello Creativenicci!

    Thanks for responding for me. I ended up going to my host and asking if they could take my website back to before I made the error. Thankfully they could but it took quite a few hours and I was unsure how much work I had lost. In the end I’ve only had to add my social media buttons again.

    I’m now just looking to remove the ‘Posted by: Admin and Date’ bit from the top of each blog page. This is how I broke it yesterday. I removed some code and it all went badly!

    I’m going to spend the day writing some content but if anyone can help with which code I should remove and where I should remove it from so that the authored by and date posted doesn’t appear I would be really grateful.

    I’m using the D5 Corporate Lite theme.

    Thank you in advance for any help given.

    One way to do it is to set “display:none;” for class “postmetadataw”
    in your style.css:

    .postmetadataw {
        display: none;
        font-weight: bold;
        letter-spacing: 3px;
    }

    but make sure to use child theme as your changes will be lost if the original theme is updated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removed data from page templates and now not displaying correctly’ is closed to new replies.