• Resolved valou64

    (@valou64)


    Hi,
    First, thanks for this theme ! It’s great !
    My question:
    – when i click on an article i have writte, i see under my title this: “name of my account / 11 jours ago” for exemple: how can you change the words of this bloc on the php ?
    – when i click on an article i have write, i see at the end of the text a bloc like this: ” 20 juillet 2013 in Actualités. Tags: foyer, inscription, licence, Monein Football Club”: where can i change the words of this bloc too ?
    Thanks for all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • What do you want the new text to be? This area is typically reserved for information like publication date, post tags, post category and author.

    Thread Starter valou64

    (@valou64)

    Hi,
    Ok I’am going to try to be the most clear as possible.

    When i publish an article, i see several elements in my page:
    – title of my post
    – an area with: my login and number of days since the plubication (for example: “matthew / 13 jours ago”
    – text i have write
    – a second area with information like publication date, post tags, post category (for example: “20 juillet 2013 in News. Tags: soccer, players”)

    Ok. So, i would like to know :
    – is it possible that the first area not appears ?
    – is it possible that my second area (at the end of my text) replace the first area ? (indeed, i find more logical to put theses informations at the beginning of the text).

    Thanks.

    Theme Author Konstantin Kovshenin

    (@kovshenin)

    Sure, you can hide the first area with some custom CSS:

    header .entry-meta { display: none; }

    Use a CSS plugin to do that, such as Jetpack. If you would like the footer meta area to be displayed instead of your header meta area, you would have to create a child theme and move things around, which is a little more complicated. See the expound_posted_on and expound_posted_in functions in inc/template-tags.php in the theme.

    Hope that helps!

    magdor

    (@magdor)

    Hi Konstantin,

    I need a bit more hand holding here. I went through inc/template-tags.php. I am not well versed in php but I get the gist of what you did there.

    I would like the posts to show “[date] by [author] in [category] as the result of the expound_posted_on function. These are regular wordpress functions right.

    Do I need to override the expound_posted_on function in the child’s functions.php? And what would be the basic setup of that function? I think with the basics I would be able to tweak it to my heart’s content.

    Theme Author Konstantin Kovshenin

    (@kovshenin)

    If you would like to rewrite it with your own stuff, yes a child theme should override the function by defining its own. If you’d like to simply hide it, CSS I gave above is the best option.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date on an article’ is closed to new replies.