Search Results for 'header'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

If you want to display custom content in the post pages, probably you need to edit the post template files in the theme. Each post template has a corresponding single and loo-single file – https://www.screencast.com/t/P4ZNnRzOb
The code most likely has a part that needs to be entered in the header file, and maybe something that needs to be placed in the post files, in order to appear on the posts. Try inserting that part in the loop-single file corresponding to the post template you are using. Editing one of the loop files you can see the post structure
https://www.screencast.com/t/KTW2wRw5ZXyD

Thanks

Catalin
tagDiv Staff

Hello Douglas,

Sorry, but all the Review settings can be found here -> https://forum.tagdiv.com/reviews-2/ If you want more options for this, you should try implementing it yourself because we cannot provide custom work at the moment, sorry! As a quick solution in this regard, you can try using the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td-review-header, .td-review-row-stars{
display:none;
}

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hello,

f you want the code to be added to the header, you should add it in the header style file that you use: https://www.screencast.com/t/QTX5WCnGU8l
Please note this is not tested and we cannot say for sure if the plugin works or not with our theme.

Thank you!

Bogdan B.
tagDiv Staff

Hi,

Please ad this css code to the theme panel-> custom css box:
.td-image-gradient-style8:after{
display:none!important;
}
.td-post-template-8 .td-post-header{
background-color:transparent!important;
}

Thank you

Simion C.
tagDiv Staff

Hi,

You can stretch the header elements using the theme options
https://www.screencast.com/t/93x55VA7q
It would be very helpful if we could see this issue, on your website.

Thanks

Bogdan B.
tagDiv Staff

Hello,

I’m not sure what script you are referring to. Our theme does n ot provide any such scripts that can inject code int your header. Please provide specific instructions to where you found the script and how you implemented it.

Thank you!

Catalin
tagDiv Staff

Hello coupleofjourneys,

I cannot access your website because it seems to be in maintenance mode. Unfortunately, notice that we do not recommend to increase the header style size because you can damage the theme layout. If you do not like this header template, you simply switch it to another one which displays the logo in full-width, for example, header style 10. For more information about header styles, please check here -> https://forum.tagdiv.com/header-styles/

Thanks for your understanding!

Catalin
tagDiv Staff

Hello ntvweb,

Please keep in mind that your images should not affect your ads if you are using Google Adsense. If you are using other ads, composed of custom images, it may not appear if the images used in the ad have not been loaded. For more information about our Google Adsense System and the way of using other ads, please consult the following documentation here -> https://forum.tagdiv.com/newsmag-header-ads/ -> https://forum.tagdiv.com/newsmag-using-other-ads/

Hope this helps!

Thanks for the message!

TerribleTowel
Participant
#0

Hello!

We recently purchased the Newspaper theme & downloaded the Travel Guide demo with content.

We are trying to update the banner.jpg at the top of the front page with an image of our own, but I cannot figure out where to go to do this.

Please let us know how we can replace this header image with an image of our own.

Thank you!

Sebastian Escobar
Participant
#0

Hi,
The logo in mobile view shows at right and more big, and I don’t know how to fix it. In Header > Logo for mobile I have a logo in 140 x 48px and in retina logo mobile I have the size in 280 x 96px. You can see it in mobile: http://chilecientifico.com
Thanks,

soundstrat
Participant
#0

Hello,

I’ve tried everything to make this code work to shrink the header down but nothing I do works. I’ve tried it with !important and without, I’ve tried adding it directly to the stylesheet – still doesn’t work. Please help. I’ve attached a photo of it working using dev tools in Chrome but when I add the code to the site it doesn’t work.

.td-header-style-10 .td-logo-wrap-full .td-logo {
line-height: 80px;
min-height: 75px;
margin-bottom: -10px;
}

Here’s what we want it to look like: http://imgur.com/a/8ZBnY

Thanks!

MochileroInfo
Participant
#0

Hello. Does anyone can answer why I cant insert this simple code in a post or a page?

<script language=’Javascript’ src=’http://www.bookhostels.com/files/index.php?UserID=Mochilero.info&File=bighw&Language=Spanish&Currency=USD&NewWindow=1&PropTypeSelect=’ charset=’utf-8′></script>

I want to insert the code here: https://www.mochilero.info/hostels

This code doesnt need to modify the header code, usually it works directly if I copy it in the body section.

In the past, with another themes, I didnt have any problem.

And if I test it with a simple html file in the same hosting, it works fine: http://www.mochilero.info/hostelworld.html

ponlork
Participant
#0

Hello, please help reply

i’m not use wordpress.
i want to use only template file. how can i use. i c ur description in ThemeForest Files Included: PHP Files, CSS Files, JS Files, but when i use it it error.
Error message:
Fatal error: Call to undefined function get_header() in /Applications/XAMPP/xamppfiles/htdocs/rasmeinews_v2/page.php on line 7
please help

simchris
tagDiv Member

If you need it site wide, just add the java to the header.php file, then add the div into the category template you’re using.

MochileroInfo
tagDiv Member

Ahhh thanks for the quick answer… but im not a pro, so i dont know nothing about ACF 🙁 Before Newspaper i used another wordpress theme with those codes and i didnt have any problem… I copied and pasted the code in the header section (in the custom code section from the Newspaper theme panel), so i cant understand where is the problem.

simchris
tagDiv Member

If it were me, I’d probably do this with ACF and make custom field where you could install that ‘per post’ — then edit the header.php to call the ACF field “if” it’s used. Then in the template(s) you’re using use the “if used” method for ACF field, to add the div ID above the normal post area.

If that makes no sense, probably need to hire a developer.

I don’t work here; but TD might have better answer. 🙂

(I do stuff like this in a custom report platform I built in WP, and using ACF for custom fields per report, where some content is added to post template only if something is actually in the custom field.)

MochileroInfo
Participant
#0

Hello! I need to insert a simple javascript code like this:

Header:
<script type=”text/javascript” language=”javascript” src=”https://sistema.aseguratuviaje.com/scripts/clientcoti.js”></script&gt;
<script>$(document).ready(function () {createlanding(“bIItuwcKAtHrdkfY5aAScxGPAVi6vlLqZWRH5CMsc622IcK1mn3k2g%3d%3d”,1,””,”es-ES”, 0);});</script>

Body:
<div id=”landing”></div>

In this post: https://www.mochilero.info/seguros-de-viaje/

But it doesnt work. I tried too with this another code:
<script language=’Javascript’ src=’http://www.bookhostels.com/files/index.php?UserID=Mochilero.info&File=bighw&Language=Spanish&Currency=USD&NewWindow=1&PropTypeSelect=&#8217; charset=’utf-8′></script>

Here: https://www.mochilero.info/hostels/

But both doesnt work. I asked and it isnt a hosting problem because I tested them in a simple html file and they work.

I need some help with this stuff, there are simple search boxes. Thanks!

nomoretechno
tagDiv Member

Hi, I figured out how to make the header transparent by adjusting the fonts. Everything looked great and a decided to experiment with a different header design. Tried design 10. It looked awful as the menu spilled over into the background rather than remaining part of the box ( I use a background design) so switched back to design 11. However, the menu is still spilling over into the background. No idea what has happened. Can you take a look?

My staging site is homeremedyhacks.wpstagecoach.com

Fatih
Participant
#0

Hi,

I’m having trouble adding Css urls in the header to the footer on speed booster.

https://www.screencast.com/t/hZUOoJob

This line currently attached;

$this->move_style_to_footer_queue(‘$this->move_style_to_footer_queue(‘wpfc-minified’);

I’ve tried them but I got an error;

$this->move_style_to_footer_queue(‘$this->move_style_to_footer_queue(‘wpfc-minified/a7b979828c80cdcdaf4533ee03330f1c’);
$this->move_style_to_footer_queue(‘$this->move_style_to_footer_queue(‘a7b979828c80cdcdaf4533ee03330f1c’);

coupleofjourneys
Participant
#0

I want to increase the size of the header in style 7. The current header can be seen at http://coupleofjourneys.com/. I want to atleast double it in dimensions. Help.

rafpigna
tagDiv Member

Just to add something more:

Any page of my site is not loading.
So,also if I try to get, example, http://www.ilcrudoeilcotto.it/calendario-corsi or any other page, it loads a blank scren with empty html file (no headers, non body..nothing. completely empty file)

aojunioro
Participant
#0

Hi, I want add in, ads only in home page, and to in other posts category, but I have a customer that want only on home page. How can i do this it ? Need be in Header.

I’m using the Plugin WP PRO ADVERTISING SYSTEM and their speaking to add this shortcode [pro_ad_display_adzone id=”18836″] or/and …

…but I don’t know where !!

looking the explication their.
_____________________________
Using the Template Tag

The “template tag” is the solution to add adzones to places on your website where you can’t use shortcodes or widgets. It allows you to hard code the adzone into your theme files on the exact location where you want the adzone to be.

To use the template tag first create the shortcode for your banner with all the options you like. Once you have the shortcode just copy and paste it into the template tag.

<?php
echo do_shortcode(“add the shortcode here”);
?>

Note: The template tag requires some PHP knowledge. It has to be added into your theme files so if you don’t know how to add the template tag contact your theme developer, provide him the template tag and ask where it should be added to show the adzone where you want it to be.

Default Template Tag Example

<?php
/**
* id = {adzone_id}
*/
echo do_shortcode(“[wpproads_banner id=123]”);
?>

pedroxi
tagDiv Member

HI Marius
I have placed the code to optimize the images
I have placed it at the end of “function.php”
I want to know if it’s right where I put it
Here is what I did

<?php
/*
Our portfolio: http://themeforest.net/user/tagDiv/portfolio
Thanks for using our theme!
tagDiv – 2017
*/

/**
* Load the speed booster framework + theme specific files
*/

// load the deploy mode
require_once(‘td_deploy_mode.php’);

// load the config
require_once(‘includes/td_config.php’);
add_action(‘td_global_after’, array(‘td_config’, ‘on_td_global_after_config’), 9); //we run on 9 priority to allow plugins to updage_key our apis while using the default priority of 10

// load the wp booster
require_once(‘includes/wp_booster/td_wp_booster_functions.php’);

require_once(‘includes/td_css_generator.php’);
require_once(‘includes/shortcodes/td_misc_shortcodes.php’);
require_once(‘includes/widgets/td_page_builder_widgets.php’); // widgets

/*
* mobile theme css generator
* in wp-admin the main theme is loaded and the mobile theme functions are not included
* required in td_panel_data_source
* @todo – look for a more elegant solution(ex. generate the css on request)
*/
require_once(‘mobile/includes/td_css_generator_mob.php’);

/* —————————————————————————-
* Woo Commerce
*/

// breadcrumb
add_filter(‘woocommerce_breadcrumb_defaults’, ‘td_woocommerce_breadcrumbs’);
function td_woocommerce_breadcrumbs() {
return array(
‘delimiter’ => ‘ <i class=”td-icon-right td-bread-sep”></i> ‘,
‘wrap_before’ => ‘<div class=”entry-crumbs” itemprop=”breadcrumb”>’,
‘wrap_after’ => ‘</div>’,
‘before’ => ”,
‘after’ => ”,
‘home’ => _x(‘Home’, ‘breadcrumb’, ‘woocommerce’),
);
}

// use own pagination
if (!function_exists(‘woocommerce_pagination’)) {
// pagination
function woocommerce_pagination() {
echo td_page_generator::get_pagination();
}
}

// Override theme default specification for product 3 per row

// Number of product per page 8
add_filter(‘loop_shop_per_page’, create_function(‘$cols’, ‘return 4;’));

if (!function_exists(‘woocommerce_output_related_products’)) {
// Number of related products
function woocommerce_output_related_products() {
woocommerce_related_products(array(
‘posts_per_page’ => 4,
‘columns’ => 4,
‘orderby’ => ‘rand’,
)); // Display 4 products in rows of 1
}
}

/* —————————————————————————-
* bbPress
*/
// change avatar size to 40px
function td_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = ”;
if ($size == 14) {
$size = 40;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, ‘_bbp_anonymous_email’, true ), $size );
}
}
return $author_avatar;
}
add_filter(‘bbp_get_topic_author_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
add_filter(‘bbp_get_reply_author_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
add_filter(‘bbp_get_current_user_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);

//add_action(‘shutdown’, ‘test_td’);

function test_td () {
if (!is_admin()){
td_api_base::_debug_get_used_on_page_components();
}

}

/**
* tdStyleCustomizer.js is required
*/
if (TD_DEBUG_LIVE_THEME_STYLE) {
add_action(‘wp_footer’, ‘td_theme_style_footer’);
// new live theme demos
function td_theme_style_footer() {
?>
<div id=”td-theme-settings” class=”td-live-theme-demos td-theme-settings-small”>
<div class=”td-skin-body”>
<div class=”td-skin-wrap”>
<div class=”td-skin-container td-skin-buy”>BUY NEWSPAPER NOW!</div>
<div class=”td-skin-container td-skin-header”>GET AN AWESOME START!</div>
<div class=”td-skin-container td-skin-desc”>With easy <span>ONE CLICK INSTALL</span> and fully customizable options, our demos are the best start you’ll ever get!!</div>
<div class=”td-skin-container td-skin-content”>
<div class=”td-demos-list”>
<?php
$td_demo_names = array();

foreach (td_global::$demo_list as $demo_id => $stack_params) {
$td_demo_names[$stack_params[‘text’]] = $demo_id;
?>
<div class=”td-set-theme-style”>” class=”td-set-theme-style-link td-popup td-popup-<?php echo $td_demo_names[$stack_params[‘text’]] ?>” data-img-url=”http://demo.tagdiv.com/demos_popup/newspaper/large/&lt;?php echo $demo_id; ?>.jpg”></div>
<?php } ?>
<div class=”td-set-theme-style-empty”></div>
<div class=”clearfix”></div>
</div>
</div>
<div class=”td-skin-scroll”><i class=”td-icon-read-down”></i></div>
</div>
</div>
<div class=”clearfix”></div>
<div class=”td-set-hide-show”></div>
<div class=”td-screen-demo” data-width-preview=”380″></div>
<div class=”td-screen-demo-extend”></div>
</div>
<?php
}

}
//print_r(td_global::$all_theme_panels_list);add_filter( ‘jpeg_quality’, create_function(”, ‘return 50;’ ) );

diegofvg
tagDiv Member

Please find a way to fix this.
The responsiveness of the theme is terrible.
How can I solve the problem in the image below?

View post on imgur.com

The menu breaks when I’m with layout in header style 6.
One solution would be to be able to display the mobile menu for the resolution that I set.

pascal-b
Participant
#0

I found a script in TD_011 also readable in the thème panel (ADS – Header ad – Your Header Ad). I can remove it but I look for :
– How this can append (Securitu problem)
– How ti avoid a new injection of that scrip (or other)

Thanks for you help

Viewing 25 results - 20,826 through 20,850 (of 29,850 total)