Proposal to develop a themes
-
Hi, Thomas!
Here is my suggestion ??
forum.php
Line 572-585 is replaced
function get_lastpost($lastpost_data, $context = 'forum') { $lastpost = false; if ($lastpost_data) { $lastpost_link = $this->get_postlink($lastpost_data->parent_id, $lastpost_data->id); $lastpost = '<small><span class="dashicons dashicons-post-author"></span>'.__('Last post by', 'asgaros-forum').' <strong>'.$this->get_username($lastpost_data->author_id).'</strong></small>'; $lastpost .= ($context === 'forum') ? '<small><span class="dashicons dashicons-name-topic"></span>'.__('in', 'asgaros-forum').' <strong><a href="'.$lastpost_link.'">'.esc_html($this->cut_string(stripslashes($lastpost_data->name))).'</a></strong></small>' : ''; $lastpost .= '<small><span class="dashicons dashicons-topic-calendar"></span>'.sprintf(__('on %s', 'asgaros-forum'), '<a href="'.$lastpost_link.'">'.$this->format_date($lastpost_data->date).'</a>').' <span class="dashicons dashicons-to-post"></span></small>'; } else if ($context === 'forum') { $lastpost = '<small>'.__('No threads yet!', 'asgaros-forum').'</small>'; } return $lastpost; }
Added – <span class=”dashicons dashicons-name”>
#af-wrapper .dashicons-post-author:before, #af-wrapper .dashicons-name-topic:before, #af-wrapper .dashicons-topic-calendar:before, #af-wrapper .dashicons-to-post:before{ font-size: inherit; padding-right: 5px; vertical-align: middle; color: #444; } #af-wrapper .dashicons-post-author:before{ content: "\f110"; } #af-wrapper .dashicons-name-topic:before{ content: "\f214"; } #af-wrapper .dashicons-topic-calendar:before{ content: "\f508"; } #af-wrapper .dashicons-to-post:before{ content: "\f344"; }
https://image.prntscr.com/image/cca548020c8a4bccb66e4e92db76cc8e.png
Unless of course you deem it necessary ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Proposal to develop a themes’ is closed to new replies.