Hello! I want to customize the theme TechNews right here https://demo.gavick.com/wordpress/technews/
I read the documentation but there not all set out. Please help!
Thank you!
<?php echo substr(get_the_excerpt(), 0, get_theme_mod('technews_frontpage_text_limit', '82')) .'...'; ?>
<?php
if(function_exists('mb_strlen')) {
echo mb_substr(get_the_excerpt(), 0, get_theme_mod('technews_frontpage_text_limit', '82')) .'...';
} else {
echo substr(get_the_excerpt(), 0, get_theme_mod('technews_frontpage_text_limit', '82')) .'...';
}
?>
// Loads reCaptcha script on contact template pages
if (is_page_template( 'template.contact.php' ) && get_theme_mod('technews_contact_enable_captcha', 0) == 1) {
wp_enqueue_script( 'technews-captcha-script', 'https://www.google.com/recaptcha/api.js', array( 'jquery' ), false, false);
}
<iframe src="https://www.youtube.com/embed/y-waTi8BPdk" width="800" height="450" frameborder="0" allowfullscreen=""></iframe>
Piotr Kunicki wrote:Did you add custom field "technews-featured-video" with your iframe.. as a value within your video post?
Piotr Kunicki wrote:The "Review by" is included in News Show Pro langauge file, so it's enough to translate the plugin.
technews_videos_popup_switcher="1" technews_videos_popup_w="640" technews_videos_popup_h="480"
tim4ous wrote:Thanks, did as you wrote, but why the video opens in a separate window and not in popup?
data_source="single-post-example,single-post-example-2,single-post-example-3,single-post-example-4"