• I’m new, so go easy. I’m trying to teach myself WordPress design with VERY limited php knowledge, and i;m sorta getting the hang of it, but i’m stuck on what’s probably a very simple problem.

    I based my theme on twenty ten, with it’s oh-so-complicated loop, and I was to move the posted on date up to the left of the title with a | in between, but I can’t figure out why it won’t work!

    I want it to read “07 Jun | Post title goes here…”

    My code from loop.php for this section is:

    https://pastebin.com/SdNV37y8

    I assume I have to move the twentyten_posted_on(); block to in front of the_title; but I just can’t figure out where!

    For the record, I edited my twentyten_post_on to format the date differently, the code is as follows:

    https://pastebin.com/w34RrxHE

    I have put a line break to have the posted on date on top of the posted month.

    Any help is much appreciated!

    Joe

    [ Please do not bump, it’s not permitted here. ]

Viewing 1 replies (of 1 total)
  • You’ll probably want to move the <?php twentyten_posted_on(); ?> inside the <h1> tag before the <a> tag and manually add a pipe:

    <h1 class="entry-title"><?php twentyten_posted_on(); ?> | <a href

    You’ll also need to use CSS to re-style the content (unless you add a span or something to add the “entry-meta” class back in.

    h1 tags are heading tags and the browser clears all content to the left/right by default.

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to move the "Posted on" meta to beside the "Title" in a post…’ is closed to new replies.