Search Results for 'header'

Results from the Forum
sayedzadahshabeer
Participant
#0

Hey guys,

So I formed a recent partnership with Outbrain (a native advertisement company), and they provided me with a couple of codes that I could add to my site. These codes would add native advertisements to either my sidebar or after my post content.

However, I don’t know how to add it, and where to place the code. The initial code is javascript, which I was told to add in my header, and I did through a WordPress plugin. The other two however are div class codes. These are the codes that I was told to add for sidebar and below content ads.

And lastly, a question for a different issue – I asked a little while ago for how I can add a header ad above or below my site’s full header logo. My question was answered, but I didn’t want to go through the hassle and potentially ruin my site’s theme. Now I’m willing to do it. In the response I was told to edit the code separately, but what software do I use on Mac OS?

Any help is much appreciated.

Faryaz
tagDiv Member

Same issue here for mobile theme, no thumbnails, no mobile ads, no header & footer logo, no javascript working in mobile header.

site is: http://www.expresspakistan.net

waiting for update.

  • This reply was modified 10 years by Faryaz.
brianzulberti
Participant
#0

Good afternoon.

My name is Brian and my website is http://www.mentalhealthsuggestions.com. I submitted my site’s logo and retina logo for display in both the header area and the footer area. The logo files I uploaded were exactly the same for both, so I was expecting the size and image quality to be identical between the header and the footer.

On my computer, the size was relatively comparable. So, I didn’t think there was a problem. However this morning I accessed my site from my mother’s computer, which has a monitor with different dimensions. I believe it is wider. On this computer, the logo in the header is displaying as significantly smaller than the logo in the footer. It is way too small and needs to be larger on her monitor. But when I got home to change it, everything appears completely normal again on my monitor because, obviously, the dimensions are different.

Help please.

blazin1
Participant
#0

I need help to fix a couple things after updating to 7.3. The article author is messed up now as you can see in the screenshot below. Also I need to change the STAY CONNECTED header in the sidebar back to black. Please let me know how to fix those two things. Thanks.

7.3 Problems

mhendiz
Participant
#0

i am don’t using any demos. can i delete this?

/**
* 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 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/<?php echo $demo_id; ?>.jpg"></div>
<?php } ?>
<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
}

}

Walter
tagDiv Member

First of all, thank you for your time.

Now… I had done the VC update to 4.12. Everything was ok.
I did the theme update using the FTP way. I got that error: “Fatal error: Access to undeclared static property: td_global::$feature_locked in /www/XXXXXX.com/htdocs/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/views/td_panel_header.php on line 239”

If I commented theses lines I may continue working, but the Theme panel is broken.

td_panel_header.php
/*if (!td_global::$feature_locked) {
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“td_block_weather_widget”);’));
}

class td_block_exchange_widget extends td_block_widget {
var $td_block_id = ‘td_block_exchange’; // change only the block id, the rest is autogenerated
}
if (!td_global::$feature_locked) {
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“td_block_exchange_widget”);’));
}
class td_block_instagram_widget extends td_block_widget {
var $td_block_id = ‘td_block_instagram’; // change only the block id, the rest is autogenerated
}
if (!td_global::$feature_locked) {
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“td_block_instagram_widget”);’));
}*/

Also, I made (after your reply) a clean update in development stage, with the same result.

Andrei L.
tagDiv Member

Hi

Please make sure that you embedded the post according with Facebook documentation: https://developers.facebook.com/docs/plugins/embedded-posts Basically you have to paste this code http://screencast.com/t/ruH2yVQans in header.php here http://screencast.com/t/jkr8RDewbF then paste this code in post content where you want to display the post: http://screencast.com/t/KzLWha6thttp://screencast.com/t/HnQeP4V1http://screencast.com/t/ZArUNxGh3wj

Thanks!

Bogdan B.
tagDiv Staff

Hi,
I’m not sure what header code you are looking for. You can use the do_shortcode function to render shortcodes on the front-end. if you want to show an ad, you can use a visual composer ad box element filtered to show a custom ad. You get the shortcode for any element on pages in classic mode-> test mode like so: http://screencast.com/t/EWo5JAccNh
I hope this helps.
Thank you!

Andrei L.
tagDiv Member

HI

Try this css to remove the white space above main menu: http://screencast.com/t/7yTSVWLwx307

.td-header-style-4 .td-header-sp-ads{
display: none;
}

Note that if you add a header add this css must be removed, otherwise the ad won’t be displayed.
Thanks!

Catalin
tagDiv Staff

Hello mariofim,

If you want to replicate the same header layout with our demo tutorial, like this -> http://screencast.com/t/9ATK0DbI please notice that you will have to use the Revolution Slider plugin in order to achieve that. For more information about this plugin, please check this documentation here -> https://www.themepunch.com/revslider-doc/slider-revolution-documentation/

Hope this helps!

Thanks for your understanding!

CooleRnax
tagDiv Member

I had to change style because of white space, I changed it back and there are issues again, I will keep it for you to see. Header ad code field is empty. I still need you help.

mc_kot
tagDiv Member

Thanks a lot! It works perfectly. Probably you may also advise where to get the code of this header to make the same one (but another text) appear above my advertisement — https://gyazo.com/ab2c51c1456b4eb14ff13609f5e65246

Bogdan B.
tagDiv Staff

Hello,
i;m not sure what full screen means for a website. Do you mean full with so the site occupies the whole width of the screen? Our theme does not have any full width option for the main content. you can have the header and footer full width and a few visual composer elements if set so,. but the main content has a fixed width.
Thank you!

nomadhermit
tagDiv Member

since the update my home page is broke, only the header loads

I have also noticed a number of static pages are also in the same condition

Please advise

sjlabar
Participant
#0

Hello,

While accessing my site http://www.urdumania.net theme directory urdumania.net/wp-content/themes/Newspaper/

i am seeing the below error

Fatal error: Call to undefined function get_header() in /home/urdunet/public_html/wp-content/themes/Newspaper/index.php on line 6

In my google webmasters console, it is notifying about this error.

Bogdan B.
tagDiv Staff

Exactly. It’s the logo 🙂
And it uses header style 10 to display the logo in it’s full size.
Thank you!

neilw
Participant
#0

Hi,

I recently used Envato Toolkit to update the Newspaper theme and once updated the theme disappeared from the site, only the header is visible. Is there a way to reinstall the old version?

N

Andrei L.
tagDiv Member

HI

There is no useless code in style.css file. Indeed not all code is applied on each page but all code have its own purpose and it is applied in some specific situations. For example some code is applied only when header style 5 is used or a bbpres page is loaded.
You can try the gzip compression to reduce the transfer time for css file, it will increase page load time: https://gtmetrix.com/enable-gzip-compression.html

Thanks!

mariofim
Participant
#0

I just bought and intalled the newspaper 7 theme and the politics/world news demo site… But how do I replicate the header as on the demo site? That is largely the reason I made the purchase.

Andrei L.
tagDiv Member

Hi

Replied you here: https://forum.tagdiv.com/topic/header-image-6/
Thanks!

Catalin
tagDiv Staff

Hello nairolf2013,

This issue happens when the index.php file is called directly. Something that would not normally happen when browsing a site, only found by crawlers which find all of the possible Url’s in a site. Please follow these 2 links.
https://ardamis.com/2011/06/02/fix-for-php-fatal-error-get_header-in-wordpress/
https://forum.tagdiv.com/topic/a-few-errors/

Thank you!

Andrei L.
tagDiv Member

Hi

The php code won’t be rendered by theme’s ad spots so you have top place your code directly in theme’s files. For example you can paste the code in header.php file which is called on all pages: http://screencast.com/t/x9skQmqPGavA I can’t guarantee that the code will work fine if will be pasted in this file because we didn’t tested WP Pro Ad System plugin and we’re not aware of its functionality.

Thanks!

Andrei L.
tagDiv Member

HI

I’ve checked your site and noticed that you have changed the header style used and now the site is displayed fine: http://screencast.com/t/bFOEpvDvOMp3 If you still have this issue while header style 4 is used please check the header ad field from theme panel and make sure that you have a valid ad-code there. On header style 4 he header ad is displayed above main menu and if the code is not valid there will be a blank space.

Let me know how it goes!
Thanks!

Walter
tagDiv Member

Also, when I commented that, a new problem appears in the Theme panel.

I only can see the Header tab until:
JAVASCRIPT DATE
Enable this if you use a cache plugin, it
displays the local data.

After that this error is displayed:
Fatal error: Access to undeclared static property: td_global::$feature_locked in /www/XXXXXX.com/htdocs/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/views/td_panel_header.php on line 239

Also, the issue with the mobile theme that everyone is talking about.

Thanks

  • This reply was modified 10 years by Walter.
themesic
Participant
#0

Is there any way to have a blog post’s title with background image that will use parallax ?

Viewing 25 results - 23,501 through 23,525 (of 29,850 total)