Search Results for 'header'

Results from the Forum
simchris
tagDiv Member

Hi everyone
I have already answered the same questions 50 times the past year and they are all covered in this thread.

I am no longer providing any help with PageSpeed issues, as this is all covered in this sticky topic for advanced users, and for newbies, the settings/docs provided by TagDiv for the theme docs (link right side of page) will get you to the 80+ stage right away. If your score is below that then you *did not* follow the theme docs or this topic on the basics for speeding up your WORDPRESS install.

WordPress optimization is widely covered on the net – it’s not theme specific.

You need to have
a) fast hosting; $3/month accounts or “free” hosting are crap.
b) have gzip/deflate running on server
c) you need to set expiration headers in your htaccess (noted in docs)
d) you need to have an image optimization strategy (noted in docs); either via plugin and/or changing optimization setting in functions.php (covered in this sticky topic.. why not READ through it??)
e) you need to optimize your dbase regularly (wp-optimize plugin)
f) you need to limit use of things which call CSS, JS, fonts, ads, counters from OTHER SITES.
g) you need to test/explore refine some kind of caching system on the server or from a WP plugin (noted in docs)
h) high quality hosting will add mod_pagespeed
i) you need to look at manual minification of main style.css file
j) limit number of ad networks
k) limit number of plugins wherever possible
j) limit total number of images/thumbs loaded on post pages to something like 10 total; not 30+
k) use fewer module types to limit number of image sizes/thumbs; use text modules also.

Advanced users:
a) local caching/loading of gravatars
b) mod_pagspeeed and mod_spdy if site loading via https
c) optimization of font loading, hack theme to remove calls from headers/footers to Google and load via style.css; -or- use ONLY web-safe fonts and no Google fonts.
d) manual minification of other files, such as main theme functions files
e) optimization of wp-config.php file with comment removal, add paths to base URL/directory and theme directory by name
f) add expiration type/ttl for custom icon font loaded by theme

etc.

Learning to optimize your WordPress site is UP TO YOU TO LEARN. It’s not part of the theme. The theme supports very good speed rating IF YOU DO THE REST. The theme cannot fix your server, optimize your htaccess file, speed up time, or transport you off this rock. Google is a great resource to FIND hundreds of articles from the past decade on optimizing WordPress. You’re not the first person to do it.

Chris out.

highrise
Participant
#0

Hi

I have setup links for Social network in HEADER > SOCIAL NETWORK

In preview it shows my website url+link to the social site (Eg: http://www.mygorgeouswedding.com/www.facebook.com/virginieweddingplanner)

Also i want to open in a new window

Here is my website link http://www.mygorgeouswedding.com/

Breakwater
tagDiv Member

FIXED

Sooo, after waiting impatiently, I decided to break open Chrome inspect element and try and troubleshoot it myself.

I realized, I had made my own ads.php and td_module_single.php files in Newsmag-child theme folder.

The update changed these files and so the modifications I made (to turn on/off ads/author on posts per tagDiv forum post) were breaking the ad spot in my header and in my posts.

Woot, fixed it and all is well as far as this help topic.

Thank you for the patience.

Breakwater
tagDiv Member

Update:

I tried using an AdRotate shortcode in the theme setting ads for the Header Ad position with no luck.

I tried adding Adsense to it. I tried adding a straight image.

I tried using the code supplied in the theme documentation to call a straight image. Nope.

No matter what I put in the ad spot in the theme settings; no ads appear in the header ad position on my site.

Can I please get a fix? Thanks

Breakwater
tagDiv Member

NVM – Not related, was from the pulgin. BUT, still can’t see header ad.

I don’t know if this is related, but with 1.4 I was able to get all *.js errors cleared on my homepage. Now, with 1.5, I get two recurring *.js errors.


Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://riverscenemagazine.com" from accessing a frame with origin "https://platform.twitter.com".  The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.

Not sure why twitter http vs https is an issue, nothing is using it on the homepage.

Again, this is new after update. Thank you!

Breakwater
Participant
#0

I have updated from 1.4 to 1.5. Run the SQL script. Deleted dependant theme plugins and reinstalled them.

My header ad is no longer displaying AdSense script for a responsive ad. This was working prior to the update.
Confirmed with Google Publisher Toolbar in Chrome that the ad is not present on the page at all.

Adsense script code is still in the theme panel settings for that “ads” position.

Any fixes, updates to address this?

Thank you, killer theme, love the updates and tech support.

http://www.riverscenemagazine.com

#0

Currently we have our site setup with our logo in the centre over top of a header image followed by the main menu and an advertising banner. We like the look of it on the main page but want to know if it’s possible to change this look on secondary pages where we may not want the huge header as we have on the main page?

We aren’t programmers and know very little about how the backend process works so please let us know what we need to do step by step if possible.

soundcheckentertainment
tagDiv Member

just looked at both sections on the site and not sure where I should place that code. Perhaps in the header.php file but not sure where in the file to aDD it

soundcheckentertainment
tagDiv Member

Thanks for the tip Lucian, do I put this in the css section or just in the header section of the code?

JohnRedick
Participant
#0

How to I add/change the alt tag of the header image?

SilvioTO
Participant
#0

Trying to change the fonts size of header, I discovered that the all options of the “theme fonts” section don’t work. The error from console is:

500 Internal Server Error
638ms
load-sc…ver=4.1 (riga 4)
“NetworkError: 500 Internal Server Error – http://mydomain.com/wp-admin/admin-ajax.php”

Thanks.

kerem
Participant
#0

i want to move the logo the red lined place how can i do this ?

http://i.hizliresim.com/q398O5.png

Also i want to make header area smaller, can you share css codes with me?

thanks.

Achal
tagDiv Member

Hi,

Why u do not post code here with changes? I will copy and paste like i did now

Check

[vc_row][vc_column width="1/1"][td_block_trending_now limit="5"][td_block_big_grid sort="featured"][/vc_column][/vc_row][vc_row][vc_column width="2/3"][td_block_1 limit="5" custom_title="FASHION WEEK" border_top="no_border_top" td_filter_default_txt="All" ajax_pagination="next_prev" header_color="#e29c04"][td_block_15 limit="8" custom_title="GADGET WORLD" header_color="#0b8d5d" td_filter_default_txt="All" ajax_pagination="next_prev"][vc_row_inner][vc_column_inner width="1/2"][td_block_2 limit="1" custom_title="BEST Smartphones" header_color="#4db2ec" td_filter_default_txt="All" ajax_pagination="next_prev"][/vc_column_inner][vc_column_inner width="1/2"][td_block_10 custom_title="DON'T MISS" td_filter_default_txt="All" limit="3" sort="random_posts"][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/3"][vc_column_text][td_block_ad_box spot_id="sidebar"][td_block_6 limit="2" custom_title="POPULAR VIDEO" td_filter_default_txt="All" header_color="#ed581c"][td_block_8 limit="3" custom_title="HOLIDAY RECIPES" header_color="#0152a9" td_filter_default_txt="All"][/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][td_block_14 limit="3" custom_title="EVEN MORE NEWS" td_filter_default_txt="All" ajax_pagination="next_prev" header_color="#288abf"][/vc_column][/vc_row]

Lucian
tagDiv Staff

Hi,

1. We will take a look at this and fix if we find some issue, please also test this without plugins!
2. I’ve noticed that some of this errors come from your plugins so I suggest you also check if you still get this errors without any plugins active.
Please also rename the short codes via SQL: https://forum.tagdiv.com/update-newsmag-to-1-5/
The get header error occurs when you try to access the theme’s index.php file directly and this is caused by the theme’s inability to locate the WordPress get_header function as it dose not passed trough WordPress when the request is made and in that case the function doesn’t “exist”.
You can read more about this and also have a solution for this here: http://ardamis.com/2011/06/02/fix-for-php-fatal-error-get_header-in-wordpress/
3. Try this css: http://screencast.com/t/nzVXqmuL

.td_related_posts .td-next-prev-wrap {
bottom: -40px;
left: 20px;
top: auto;
right: auto;
}

Thanks

Achal
tagDiv Member

The following code is written for sidebar

[td_block_ad_box spot_id="sidebar"][td_block_6 limit="2" custom_title="POPULAR VIDEO" td_filter_default_txt="All" header_color="#ed581c"][td_block_8 limit="3" custom_title="HOLIDAY RECIPES" header_color="#0152a9" td_filter_default_txt="All"]

Let me know what is wrong in this code? I already run SQL successfully

Lucian
tagDiv Staff

Hi,

Have you managed to get this done: https://forum.tagdiv.com/topic/simple-ads-manager-on-header/#post-36416
Please also open a new topic in the newspaper theme forum area and address you question/issue there.
https://forum.tagdiv.com/forum/newspaper/

Thanks for understating!

Lucian
tagDiv Staff

Hi,

I have investigated this and seems that the mega menu feature it bound by the header menu id that is why the menu breaks, changing it is not simple and you would need additional customization besides changing the menu id.
You could try to add menu items for both you menu then use css to hide the ones you want only on mobiles on desktop and reverse.
Sorry for the inconvenience!

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

You can use this custom css in Theme Panel > Custom Css: http://screencast.com/t/fYBuW4Sc

.page-id-xxx .td-header-sp-ads .td-header-ad-wrap{
display:none;
}

To find out page ID please see here: http://screencast.com/t/5miKyt1CNbP

Thanks!

Achal
tagDiv Member

When I open visual Composer this is showing for sidebar

[td_ad_box spot_id=”sidebar”][td_block_6 limit="2" custom_title="POPULAR VIDEO" td_filter_default_txt="All" header_color="#ed581c"][td_block_8 limit="3" custom_title="HOLIDAY RECIPES" header_color="#0152a9" td_filter_default_txt="All"]

So i guess VC has some issue with sidebar

Gregory
Participant
#0

Hello

Some issues noticed with 1.5 version updates

1) We noticed one second delay in whole site installation, WP-Admin – site front page as well.

2) In the error log file we also found some PHP errors. Please get this errors fixed as soon as possible.

`2015/01/30 07:02:57 [error] 19389#0: *2940 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined method td_block::inner() in /var/www/example.com/htdocs/wp-content/themes/Newsmag/includes/wp_booster/td_ajax.php on line 154
PHP message: PHP Stack trace:
PHP message: PHP 1. {main}() /var/www/example.com/htdocs/wp-admin/admin-ajax.php:0
PHP message: PHP 2. do_action() /var/www/example.com/htdocs/wp-admin/admin-ajax.php:95
PHP message: PHP 3. call_user_func_array:{/var/www/example.com/htdocs/wp-includes/plugin.php:496}() /var/www/example.com/htdocs/wp-includes/plugin.php:496
PHP message: PHP 4. td_ajax_block() /var/www/example.com/htdocs/wp-includes/plugin.php:496" while reading response header from upstream, client: 92.90.16.190, server: example.com, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.example.com", referrer: "http://www.example.com/2015/01/25/melchior-productiond-ltd-meditations-1-3-ep-flac/"
2015/01/30 07:38:55 [error] 19384#0: *8832 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function get_header() in /var/www/example.com/htdocs/wp-content/themes/Newsmag/index.php on line 6
PHP message: PHP Stack trace:
PHP message: PHP 1. {main}() /var/www/example.com/htdocs/wp-content/themes/Newsmag/index.php:0" while reading response header from upstream, client: 54.194.125.10, server: example.com, request: "HEAD /wp-content/themes/Newsmag/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.example.com""`

3) It’s not possible to change the line height on module related articles. From theme panel is not change. All settings are to default. The navigation also moved from top to bottom of the panel. See also this image

Kindly review this and let me know.

Best Regards

emresendenel
Participant
#0

Dear friends,

I need your support regarding a third party plugin called WP-Subcribe Pro. There is supposed to be a pop up subcription window however it is not working with Newsmag. I asked the issue in plugin’s forum, they adviced me to adding below code to the bottom of the functions.php file (in order to execute jQuery code earlier), I tried but it did not work as well.

wp_enqueue_script(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js’);

Do you have any suggestion?

Their answer also written below;

It seems jQuery is included too late in the code, it appears in the footer, however, it’s needed earlier in the execution, it should be included in the header. It’s hard to tell how to fix it without knowing how the theme handles the inclusion. Try adding this code to the bottom of the functions.php file of your theme:
wp_enqueue_script(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js’);
Hope that helps.

Lucian
tagDiv Staff

Hi,

Try to expand the ad container using a css like the one I’ve pasted below and adjust it as you like:

.header-content-rec .td-g-rec-id-header, .header-content-rec .td-a-rec-id-header {
height: 120px;
}

Hope this helps!

Thanks

ajaffarali
Participant
#0

I’m using Header style 5 which has a banner below the menu and it works fine across the site. Now I want to create a page but only for this page, I don’t want the banner to show. How do I make that happen? I remember asking before and was told that this could be done by CSS

bastian-pl
Participant
Manage ads - topic
#0

hello, if I wanted ad in the header to insert their ads after refreshing the page will be refreshed as you do and whether it is at all possible?

soundcheckentertainment
tagDiv Member

I have a related question. We are getting ready to launch our new site with the Newspaper theme and although the theme is incredible with a tone of options we are struggling to figure out how to place non-adsense ads into the header and other locations.

In the past we used SH Slideshow which simply used a shortcode, I tried that and it didn’t work. I also have the option of using a PHP script (<?php shslideshow(1); ?>), this also didn’t work.

I installed Simple Ads Manager but it’s a Widget based system and I can’t figure out how to get a widget into the header ad space.

Can you help?

Viewing 25 results - 27,876 through 27,900 (of 29,850 total)