Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author g.cqd

    (@guizillanet)

    Hi @stoent,

    Firstly, thanks to use aemi theme.

    Then, here is the tip :

    Create a child theme of aemi, then in functions.php, add

    if ( ! function_exists( 'aemi_posted_info' ) )
    {
    	function aemi_posted_info()
    	{ 
    		if ( 'page' !== get_post_type()
    		{
    			?><div class="post-details">
    				<div class="post-date"><?php the_time( 'j F Y' ); ?></div>
    				<div class="post-mod"><?php the_modified_time( 'j F Y - G:i'); ?></div>
    				<div class="post-author"><?php the_author_posts_link(); ?></div>
    			</div><?php
    		}
    	}
    }

    It will remove these details from HTML source. If you want to just hide them from displaying : add to child theme style.css :

    body.page h1.post-title {
    	margin: 0;
    }
    body.page .post-details {
    	display: none;
    }

    I hope I helped you.

    Regards,

    • This reply was modified 5 years, 9 months ago by g.cqd.
    • This reply was modified 5 years, 9 months ago by g.cqd.
    • This reply was modified 5 years, 9 months ago by g.cqd.
    Theme Author g.cqd

    (@guizillanet)

    I consider this is resolved. Contact me if any problem occurred in your work with aemi.

    Hello, I am facing the same problem.
    Unable to remove the date, time and author on the page.
    Tried to download plugins and edit style.css but it did not work.
    Kindly advice the solution.

    Theme Author g.cqd

    (@guizillanet)

    Hello @chenizace
    Firstly I recommend you to read my previous answers. Then, Because of the redundancy of this request, I’ll update aemi to allow users to deactivate these settings through Customizer. Update will be available maybe this evening, at most this weekend.

    Thanks for reaching me through support feed, don’t hesitate to give your opinion (negative or positive, whatever) by rating my theme.

    Theme Author g.cqd

    (@guizillanet)

    @chenizace @stoent

    Hello !

    I’m glad to be able to announce that you can actually hide or display author, dates, categories, … for each post type with the latest update of AeMi.

    Hope you will like it.

    Best Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove date and author in pages’ is closed to new replies.