- TutorialsDefault Block Settings Guide
Hi, when installing the newest update 2.3.1 i get the following error messages:
(please advice)
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_1 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_2 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_3 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_4 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_5 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_6 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_7 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_8 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_9 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_10 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_11 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_12 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_13 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_14 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_15 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_16 is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_popular_categories is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_slide is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_ad_box is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_text_with_title is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_authors is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::get_default_component_id : no component of type td_api_header_style . Wp booster tried to get the default component (the first registered component) but there are no components registered.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: is not set.
/var/www/comnie-limniones/wordpress/current/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
Hi insidestl,
I assumed that you are using header_style_6 in your website and i gave you the code for this header style, sorry. Please try the same code and replace with the number of style used.
.td-header-style-X .td-a-rec-id-header > div {
margin-top: 10px!important;
}
Where X is the number of style used.
Hope this helps and let us know how it goes!
Thanks!
Hello,
I’m not sure exactly what white space you mean to remove but i assume it’s the one under the logo
You can use this custom css to remove some of the space:
.page-id-38 .td-header-style-9 .td-logo-wrap-full {
min-height: 70px!important;
}
.page-id-38 .td-header-menu-wrap-full{
height:0!important;
}
Thanks.
Hello,
You can use this custom CSS in the theme panel-> custom css box for the moment.
@media (min-width:1019px){
#buddypress div#item-header #item-header-cover-image #item-header-content {
margin-left:0!important;
margin-right:0!important;
position:absolute!important;
top:145px!important;
}
}
@media (min-width: 783px) and (max-width: 1018px){
#buddypress div#item-header #item-header-cover-image #item-header-content {
margin-left:30px!important;
margin-right:0!important;
position:absolute!important;
top:145px!important;
}
}
I hope this helps.
Thanks.
Hello,
After upgrade my mobile site http://www.dnevne.net does not work well.
Menu does not work, search…
I use cloudflare, after upgrade I deleted cache.
I tested on iPhone.
Thanks.
Hi
Your code is missing the loop part which check if there are any post to be displayed on the page. A basic loop example it’s in this code:
<?php if ( have_posts() ) ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="td-container"> //the theme uses this classes for
<div class="td-container-border"> //post/page content
<?php the_content(); ?>
//you can place a custom code here, depending by your needs
</div>
</div>
<?php endwhile; ?>
The theme display the page content using this classes: td-container, td-container-border You can replace them if you want but in this case you need to create your own css for layout. Also you can use your classes within theme’s classes like this:
<div class="td-container"> //the theme uses this classes for
<div class="td-container-border"> //post/page content
<div class="img-header-home">
<div class="container mt-130 z-index100">
My static content
<?php the_content(); ?>
//you can place a custom code here, depending by your needs
</div>
</div>
</div>
</div>
You can check this example code here: http://pastebin.com/8E0XZ8de which produce this result: http://screencast.com/t/p8SsR9P2x9W – http://screencast.com/t/N95ikdPhHY
This is a basic example, but you can customize your page template as you need by ading different conditions in that file. For more information regarding WordPress loops you can check the official documentation: https://developer.wordpress.org/themes/basics/the-loop/
Hope this help.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi
We will investigate this issues and hope we can came up wit a solution soon. Meanwhile try this css, it should work sine: http://screencast.com/t/7foyTZkfx9
.groups #buddypress div#item-header div#item-actions{
left: 0;
top: 62px;
}
#buddypress div#item-header ul {
display: block;
}
Thanks!
Hi
You can add a icon for your web browser window by adding this line of code in header.php file:
http://screencast.com/t/dl442uHQx – http://screencast.com/t/ADNm0zIr1
<link rel="icon" type="image/png" href="your-icon-image-url">
Let me know how it goes.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi there,
I have purchased and installed Newsmag, then the first thing I do is to manually activate, with apparent success.
Then I go to Newsmag/Welcome on the uppet left panel. It says that I have to download the plugin “Visual Composer”. So I go to plugins/visual composer, and I clik “install”.
But then the system says :
Cette extension ne dispose pas d’un en-tête valide.[Translation : this plugin doesn’t have a valid header]
Téléchargement de l’archive d’installation depuis [Translation : downloading installation archive from] http://www.stock-newswire.com/wp-content/themes/Newsmag/includes/plugins/js_composer.zip…
Le téléchargement a échoué. [Translation : the download has failed]. Authorization Required .
Please advise.
Hi, i have a little problem, may be you can help me.
I tried to create a original homapage, or may be just a header fullsize, but it is not the point.
I create a new php file with sublimetext, in that php file i put :
<?php
/*
Template Name: Home
*/
?>
<?php
get_header('home');
//set the template id, used to get the template specific settings - this was the old home.php template
$template_id = 'home';
//prepare the loop variables
global $loop_module_id, $loop_sidebar_position;
$loop_module_id = td_util::get_option('tds_' . $template_id . '_page_layout', 15); //module 1 is default
$loop_sidebar_position = td_util::get_option('tds_' . $template_id . '_sidebar_pos'); //sidebar right is default (empty)
// sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue
$td_sidebar_position = '';
if($loop_sidebar_position == 'sidebar_left') {
$td_sidebar_position = 'td-sidebar-left';
}
?>
<div class="img-header-home">
<div class="container mt-130 z-index100">
My static content
</div>
</div>
here
<?php
get_footer();
i put my php file in the hosting where wordpress are installed, and from wordpress, i create a page, and choose from template my php file “Home”.
now under My Content <div class = “img-header-home”> I want to add some dynamic content that retrieves items from my blog.
And if it can be added by visual composer on this page. Because I try to create content with but it does not appear online.
I think something is missing (i mean some code php) to recovered the visual composer tomake it works.
i understand html, css, but not more in php, that’s why i need your help.
i’m sorry my english is bad, I hope u can understand.
Thanks in advance.
Hi,
This is my first time of asking for your support and i would be very glad if you tell me how i can set a custom ad size for my adsense ad, i want to have 970×250 adsense billboard size on my header, here is my website. http://www.09ja.com, i would really appreciate your help, there are so many ad sizes to choose from if i don’t want my adsense ad to be responsive on desktop but 970×250 is missing from the options you have on the theme, it is important for me to be able to set a custom ad size.
Thanks
Julius
Okay. When I was using Cloudfront I had to set CORS rules on the bucket, if memory serves. It’s been over a year since I messed with that, sorry.
If your buckets are not via S3 .. not sure how that works.
In our case :: The solution is to get CORS working with Amazon S3, then to get Cloudfront to forward the appropriate headers.
Old article if the docs did not help from Amazon….
http://www.holovaty.com/writing/cors-ie-cloudfront/
SORRY … I have not used Amazon hosting, so not sure how that works vs S3+cloudfront.
-
This reply was modified 10 years by
simchris.
Thanks for your fast answer.
I disabled EACH and ALL my plugins.
For your surprise, ONLY when I disabled WordPress SEO by YOAST I really could work with in the admin area without blank pages.
Please let me know if I can FIX that error:
PHP Warning: Cannot modify header information – headers already sent by (output started at /…/web/content/wp-content/plugins/wordpress-seo/inc/class-rewrite.php:1) in /…/web/content/wp-includes/pluggable.php on line 1207
or If I can HIDE the “category” folder of the theme with another trick.
thanks
PS: if you want to login to my WP installation, please let me know.
thanks in advance.
Hi, sorry to ask, but I am getting crazy.
After activating WordPress SEO, my admin area, almost all the time give me a BLANK PAGE.
I analyzed the PHP LOGS and I found that wordpress SEO has problesm with NEWSPAPER theme.
Have you found or configured it with this theme?
[12-Nov-2015 18:51:08 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /…/web/content/wp-content/plugins/wordpress-seo/inc/class-rewrite.php:1) in /…/web/content/wp-includes/pluggable.php on line 1207
-
This reply was modified 10 years by
argos.
Hi insidestl,
You can try the code below in Theme panel->Custom Css area like this: http://screencast.com/t/HCqdvYMHLP9
.td-header-style-6 .td-a-rec-id-header > div {
margin-top: 10px!important;
}
The result should see here: http://screencast.com/t/yomylI9k
Hope this helps and let us know how it goes!
Thanks!
Hi – I am pretty new to WordPress, and I have probably an easy question for most of you.
I am starting with the Sports demo and just removing and adding things to build my site. I added a Header ad just above the news ticker, but I cannot figure out how to remove the large amount of extra white space above it, and below the menu. I havent made any layout changes yet with visual composer. Thanks in advance!
Hi,
Thanks for reporting this. I’ve added it on our list, we will fix it in a future update. Until then add the following css into Theme Panel -> Custom CSS – http://screencast.com/t/ND63m9dC
#buddypress #item-header-cover-image #item-header-avatar {
margin-top: 145px;
position: relative;
}
#buddypress div#item-header img.avatar {
border-radius: 50%;
}
#buddypress div#item-header #item-header-cover-image #item-header-content {
padding-left: 0;
}
#buddypress div#item-header h2.user-nicename {
font-size: 30px;
margin-top: 30px;
padding: 2px 10px;
display: table;
/*background-color: rgba(77, 178, 236,0.7);*/
}
Have a nice day!
Hi,
This is weird I have checked your site again and now I see the issue. This usually happens when loading the font file (which contains those icons) from another host/url – http://screencast.com/t/EwXi2meDB
Normally by adding this code in .htaccess file should solve this issue(clear cache and purge your files after that):
<FilesMatch "\.(ttf|otf|eot|woff|svg)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
If this doesn’t work please try to regenerate the newspaper fonts then empty cache/purge files again and let me know if this issue persists.
You can try to regenerate fonts like this:
1. go to https://icomoon.io/app
2. button “import icons”, import from newsmag.svg (in /images/icons/),
3. select all icons;
4. button “generate font”, button “download”;
5. copy the 4 files (.eot, .svg .ttf .woff), in “fonts” folder in the downloaded zip file, rename icomoon.* to newsmag.*, replace old files, done.
Hope this helps!
After updating the Newsmag-file and the files of js_composer and td-speed-booster I get a long list of errors like the following example in the head of the page – and also in the backend:
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_1 is not set.
/var/www/vhosts/domain/httpdocs/data-directory/themes/Newsmag/includes/wp_booster/td_api.php
The complete header of the page incl. the menu and backgroud-image is no more visible.
And all used blocks in the page are invalid (the tags are visible instead of the block-heads)
[td_block_text_with_title custom_title=“My Headline“ border_top=“no_border_top“] ... [/td_block_text_with_title]
In the backend I can’t see the td_blocks in the visual composer menu – the rest of the visual composer works normal.
What can I do to fix the problem.
Thanks
Ralf
Hi ariangreatzone,
You have this error because you have not entered correctly the PopMarker embed. We do not recommend to introduce it in section
… because maybe can appear some error, like this case. You can put the code in content section if you want, like this: http://screencast.com/t/1pfnEOXZvjHere you can see the actual code header header.php – http://pastebin.com/M5n0T1Jy
Hope this helps and let us know how it goes!
Thanks!
Hello,
Please make sure you use the right version of the code for it. Follow this guide to get it done: https://gtmetrix.com/add-expires-headers.html There are lots of topics on this subject and all have different versions of it. Make sure you clear your cache after adding the code (The clearing of the cache is recommended after every modification to htaccess).
If you still have problems afterwards please also contact your hosting provider to rule out server configuration.
Thank you!
Hi ns85gs,
Yes, it is possible to create this columns without Visual Composer but you must have knowledge of HTML. First of all you have to create a new simple page with mega menu feature, then in your text editor you must put your content.
In this screenshot you can see an example of the table in HTML. http://screencast.com/t/RUmlzE6xPDx and the result should see here: http://screencast.com/t/XANkNO48gd
Practically, the mega menu feature allow your content in header.
Hope this helps and let us know how it goes!
Thanks!
Hi Andrei,
I customized the code as you explained in the screenshots but after uploading the new ads.php my page didn’t load further than the header. Could you please be so kind to have a look at the code below?
Thank you so much!
__________
<?php
//@todo verifica daca ai ad daca nu pune clasa
$td_ad_array = td_util::get_option(‘td_ads’);
$td_no_ad_class = ”;
if(!empty($td_ad_array[‘header’])) {
if (empty($td_ad_array[‘header’][‘ad_code’])) {
$td_no_ad_class = ‘ td-ad’;
} else {
if (empty($td_ad_array[‘header’][‘disable_m’])) {
$td_no_ad_class .= ‘ td-ad-m’;
}
if (empty($td_ad_array[‘header’][‘disable_tp’])) {
$td_no_ad_class .= ‘ td-ad-tp’;
}
if (empty($td_ad_array[‘header’][‘disable_p’])) {
$td_no_ad_class .= ‘ td-ad-p’;
}
}
}
?>
<div class=”td-header-ad-wrap <?php echo $td_no_ad_class;?>”>
<?php
// show the header ad spot
if(is_front_page()) {
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_4"]‘);
} else{
echo td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘header’)); ?>
</div>
Hello there!
We are trying to paste an ad code on the header section.
“In your WordPress admin dashboard, navigate to the “Appearance” option, and then to the “Editor”. Open the file header.php for editing. Paste your PopMarker embed code directly above the closing head tag (</head>).”
When I access the header via FTP or even the editor I get this.
https://www.evernote.com/l/AQRqdIqEBZdM8r5NMBvffln7KZdAFdSd1LQ
Where can I get the actual header?