Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_title($excerpt_lenght = '',$module = '') {
- $buffy = '';
- $buffy .= '<h3 itemprop="name" class="entry-title">';
- if ($module == '') {
- $buffy .= '<a itemprop="url" href="' . $this->href . '" rel="bookmark" title="' . $this->title_attribute . '">';
- }
- if (!empty($excerpt_lenght)) {
- $buffy .= td_util::excerpt($this->title, $excerpt_lenght, 'show_shortcodes');
- } else {
- $buffy .= $this->title;
- }
- if ($module == '') {
- $buffy .= '</a>';
- }
- $buffy .= '</h3>';
- return $buffy;
- }
Advertisement
Add Comment
Please, Sign In to add comment