WordPress.org

Ready to get started?Download WordPress

Forums

Easel
[resolved] change date (3 posts)

  1. ahadzadeh
    Member
    Posted 1 year ago #

    how to change date to hejri

    .post-calendar-date
    tanx

  2. Frumph
    Member
    Theme Author

    Posted 1 year ago #

    function easel_display_post_calendar() {
    		global $post, $wp_query;
    		if (is_page()) return;
    		if (easel_themeinfo('enable_post_calendar')) {
    			$post_calendar = "<div class=\"post-calendar-date\"><div class=\"calendar-date\"><span>".get_the_time('M')."</span>".get_the_time('d')."</div></div>\r\n";
    			echo apply_filters('easel_display_post_calendar', $post_calendar);
    		}
    	}

    You can add (and edit) this to your CHILD THEMES functions.php file, or edit it directly in the functions/displaypost.php to suit your needs.

  3. ahadzadeh
    Member
    Posted 1 year ago #

    ok
    very tnx
    love you

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.