• Resolved xrisxal2000

    (@xrisxal2000)


    Hi guys, awsome Plugin

    i wa nt to add an icon before Last Update date info.

    i find wp-last-modified-info/includes/frontend/post.php
    and at the bottom

    $modified_content = '<' . $html_tag . ' class="post-last-modified">' . $options_post . ' <time class="post-last-modified-td"'. $schema_post .'>' . $format . '</time>' . $author_sep . ' <span class="post-modified-author">' . $lmt_post_uca . '</span></' . $html_tag . '>';

    i just want to add an icon before it <i class=”fa fa-clock-o”></i>
    How can i add this to php file?

    Many Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter xrisxal2000

    (@xrisxal2000)

    And pls where i can find shortcode?
    What is the shorcode for Php and editor?

    Many thanks

    Plugin Author Sayan Datta

    (@infosatech)

    Hi,

    Your don’t need to modify any PHP files.

    Just add it <i class="fa fa-clock-o"></i> before it: http://prntscr.com/ozpgt5 and plugin will do the rest.

    And pls where i can find shortcode?
    What is the shorcode for Php and editor?

    Shortcode is: [lmt-post-modified-info] for posts and [lmt-page-modified-info] for pages. You can add it using PHP: <?php echo do_shortcode('[lmt-post-modified-info]'); ?>

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Simple Questions’ is closed to new replies.