WordPress.org

Ready to get started?Download WordPress

Forums

Expound
[resolved] Date on an article (6 posts)

  1. valou64
    Member
    Posted 11 months ago #

    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.

  2. 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.

  3. valou64
    Member
    Posted 11 months ago #

    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.

  4. Konstantin Kovshenin
    Member
    Theme Author

    Posted 10 months ago #

    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!

  5. magdor
    Member
    Posted 8 months ago #

    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.

  6. Konstantin Kovshenin
    Member
    Theme Author

    Posted 8 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic