Fix File
•
/
home
/
sportsfe...
/
public_h...
/
wp-conte...
/
plugins
/
network-...
/
views
/
post
•
File:
title.php
•
Content:
<?php /** * Created by PhpStorm. * User: Admin * Date: 04.04.2017 * Time: 8:30 */ use NetworkPosts\Components\NetsPostsHtmlHelper; if ( ! defined( 'POST_VIEWS_PATH' ) ) { die(); } if ( $shortcode_mgr->get_boolean( 'titles_only' ) ) { $title_class = 'netsposts-post-titles-only'; } else { $title_class = 'netsposts-posttitle'; } $temp = sanitize_quotes( $shortcode_mgr->get( 'wrap_title_start' ) ); $html .= htmlspecialchars_decode( $temp ); /* * This code creates title link */ $title_color = $shortcode_mgr->get( 'title_color' ); if( $shortcode_mgr->has_value( 'title_length' ) ){ $title_length = intval( $shortcode_mgr->get( 'title_length' ) ); $title = netsposts_strip_text_words( $the_post['post_title'], $title_length ); } else { $title_length_chars = intval( $shortcode_mgr->get( 'title_length_characters' ) ); $title = shorten_text_exact( $the_post['post_title'], $title_length_chars ); } $title .= esc_html( $shortcode_mgr->get( 'title_after' ) ); $title_style = 'color: ' . $title_color . ';'; if ( $shortcode_mgr->get_boolean( 'include_link_title' ) ) { if ( !isset( $exclude_title_links) || ! array_has_value( $the_post['ID'], $exclude_title_links ) ) { $html .= NetsPostsHtmlHelper::create_title_link( array( 'url' => $the_post['guid'], 'text' => $title, 'title' => $the_post['guid'], 'class' => 'netsposts-posttitle-link', 'open_link_in_new_tab' => $open_link_in_new_tab ) ); } else { $html .= NetsPostsHtmlHelper::create_span($title, $title_class, $title_style ); } } else { $html .= NetsPostsHtmlHelper::create_span($title, $title_class, $title_style ); } $html .= htmlspecialchars_decode( $shortcode_mgr->get( 'wrap_title_end' ) );
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List