- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hahaha… got it!
Be patient, I´m learning.
There seams to be some strange action on your “block 3”
see: http://www.kungalvsnyheter.se/debatt/?preview=true&preview_id=729&preview_nonce=4cfad58862
Isn´t the articles gonna be big and one under the other? not many small?
Cheers,
Joakim
Hi,
Unfortunately yes, you can also use the page builder on post pages but we don’t recommend it as it could cause issues.
I have check your site and noticed that you have an 403 error when accessing the admin-ajax.php file: http://screencast.com/t/1UngD4NFjYx
This usually appears because the server security module blocks the access to admin-ajax.php file.
Contact your server administrator and explain the situation, as it’s requested many times the file it’s treated as threat so it’s banned. You can report false positives to your server administrator to remove it from the banned list.
Hope this helps!
Thanks
Hi,
1-2 You can use the following css for border and subcategories: http://screencast.com/t/8h1O1TFrx3A
.menu-item-first a:hover{
border-bottom-color: #8c1f3c !important;
}
.menu-item-first .block-mega-child-cats a{
color: #8c1f3c;
}
Also if you want to change this for other categories you can add class .menu-item-xxx: http://screencast.com/t/wEP4G1qVb
3. I see that you have a category named “Latest Released”- http://scifiandfantasynetwork.com/category/latest-releases/ and also a page – http://scifiandfantasynetwork.com/latest-release/
a)For your category page you can add class .category-latest-releases like this: http://screencast.com/t/TAMxhrDj9SOb
.category-latest-releases .slide-meta-cat{
background-color: #8c1f3c;
}
.span8 .category-latest-releases .entry-title a{
background: #8c1f3c;
color: white !important;
}
b)For your page http://www.scifiandfantasynetwork.com/latest-release/ you can set the background color from block settings: http://screencast.com/t/IFMtUzaf
And for Big Slide please use this custom css: http://screencast.com/t/ZlRGWVM2l
.page-id-83 .td-sbig-title-wrap .td-sbig-title, .page-id-83 .td-sbig-title-wrap{
background-color: #8c1f3c;
}
Also you can use class .page-id-xx if you want to do this for another page.
Hope this helps!
Hi,
You can find the arguments builder for blocks/widgets shortcodes here: http://screencast.com/t/qdobjd3bI
This is the case for 7 days post sorting: http://screencast.com/t/vdFM22lEX and the filed are here: http://screencast.com/t/JIUvJ4OhXii
Thanks
and also try to use the speed booster plugin and this page speed guide: https://forum.tagdiv.com/page-speed-guide/
– i follow all steps from this post, nothing helps with this images disaster..
I understand now, sorry about that! Those grid columns are created using text block elements from Visual Composer page builder and the columns layouts like this: http://screencast.com/t/4iBp3ZelXmgv
I’m not sure about the js matter as I need to inspect your site to make an idea about it so please provide if possible your site’s URL and also let me know if you have tried this without plugins.
Thanks
And please just one thing you may plan to add to next updates – an option to put small size text “advertisement” around ads blocks plus option to translate this word in different languages in your translation section in theme panel. Most sites put such text to be quite correct to their visitors.
-
This reply was modified 11 years by
Plexus7.
Hello,
In my way to customize the theme I’ve purchased, there are some problems I can not deal with:
-first of all, AJAX does not work on my site, that means no megamenu works, and also all blocks containing AJAX, but it is a bit strange, because all works properly on my working PC, but nowhere else!?
-I read your documentation but did not succeed to find how to use grid columns shortcodes, actually I can not find them?!
-I have a problem with bulleted lists – actually there is no bullets visible in the publication, but numbers work properly.
PS I upgraded the theme to the last version you provide and the issues still are there.
Thanks, Lucian
pardon any follow ups on WooCommerce, but I’m going to be testing the heck out of this as we’re moving from another cart system from past 5 years to WooCommerce, for various reasons I won’t bore you with.
One additional CSS element:
with the PayPal option box on checkout page, the text “what is PayPal” gets covered up by the info box for PayPal which appears to be a block item and if you have CSS for that should be set to wrap whitespace, as there is no room to right of the info box for the little what is paypal text. I’m actually trying to find a “hook” to hide that text, but still learning how to do stuff like that with WooCommerce.
If you have any suggestion on that or a CSS over-ride to text-wrap the info box for the payment type. Well, I guess I could use the inspector, too. Duh.
🙂
hi,how to rewrite <title>…</title>for the homepage? The defualt one is “Newspaper|Subhead”,I want to change it to “Newspaper-Subhead” while the other pages keep using the format of “article title|Newspaper”.
I know the code below will work out ,but not sure if it’s appropriate for this theme.As I can see ,the theme has already changed the default page title “Newspaper|article title” of wordpress,but don’t know if there is a consideration for keywords and description auto generation which the code below covers.
<title><?php if (is_home() || is_front_page() ) { ?><?php } else {?><?php wp_title(”); ?> | <?php } ?></title>
<?php if (is_home() || is_front_page()){
$description = “”;
$keywords = “”;
} elseif (is_single()){
if ($post->post_excerpt) {
$description = $post->post_excerpt;
} else {
$description = substr(strip_tags($post->post_content),0,220);
}$keywords = “”;
$tags = wp_get_post_tags($post->ID);
foreach ($tags as $tag ) {
$keywords = $keywords . $tag->name . “, “;
}
}
$description=strip_tags($description); ////screening out HTML、PHP tags
?>
<meta name=”keywords” content=”<?=$keywords?>” />
<meta name=”description” content=”<?=$description?>” />
-
This reply was modified 11 years by
winnieji.
Hi,
You can use modules for category page and you can read about modules (see demo) on our documentation: https://forum.tagdiv.com/modules-and-blocks/
Please set your preferred module to display category page from Theme Panel > Categories > each category: http://screencast.com/t/NpJ38m4sS3n
Hope this helps!
Hi,
I have checked your site and noticed that the logo container is empty: http://screencast.com/t/CcyepQXxSFFg so please make sure you do this right (last section): https://forum.tagdiv.com/header/
I have also tested this using the latest theme version and haven’t had any issue of this type so you shouldn’t experience this also.
Please make sure that you use the latest theme version which is 4.6.1
Please try this without any plugins active and also make sure you empty cache as well and make sure the theme actually saves settings. The issue with saving settings usually appears because the server security module blocks the access to admin-ajax.php file. Try to verify if this happens when you save settings in other cases in theme panel and also verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
Contact your server administrator and explain the situation, as it’s requested many times during the a save the file it’s treated as threat so it’s banned. You can report false positives to your server administrator to remove it from the banned list.
Hope this helps! Please let me know how it goes!
Thanks
hi,
Thanks Chris!
@felizubi You can set and use the post template 7 for those posts: http://screencast.com/t/6P18EXIMNP you will get the featured image on block/modules but not on post page.
ex:
config: http://screencast.com/t/khPUNY1L9KD
result: http://screencast.com/t/Lrd7QHxA
post page: http://screencast.com/t/zQIbCF5kMVD
Thanks
Hi,
We use the divs from this guide: https://forum.tagdiv.com/ads-system-full-guide/ Try to use them as they are there and check if this also happens.
You can also access our demo site and check if the image banner ads added there are blocked.
You can also consider going trough ad block settings or that somehow the banners are reported and that’s why are removed.
Thanks
Hi,
a. It looks well now: http://screencast.com/t/WioDyTLH Please let me know if you’ve managed to fix this.
b. Please provide more details about this as I have also tested this but couldn’t reproduce it.
c. That is the way the latest articles work when you navigate trough that section you can use another template for you homepage and use an block to add that section and use the ajax pagination.
d. Use this css in theme panel > custom css field to remove that border: http://screencast.com/t/IYa1qfRJ
.td-main-sidebar .td_block_2 {
border-top: 0px solid #e6e6e6;
}
.td-pb-span4 [class*="td_block_2"] {
border-top: 0px solid #e6e6e6;
}
f. I have tested your site and haven’t seen this behavior. Please let me know if this happens again and also try this without any plugins, empty cache and purge files if you use CDN.
1/ Please provide more details as it looks well to me: http://screencast.com/t/L7dJd2NI
Maybe if you another background color: http://screencast.com/t/fUVjX9Tbg6K
2/ Which block title you refer too? I have checked this and haven’t noticed anything wrong: http://screencast.com/t/8D2hoMmJxY
Thanks
The theme uses the built-in functions of WordPress to get thumbs on front page, which are pulled from the “featured image.”
In theory you could create a custom field, then hack the block/module for home page to use the field in place of the featured image, but this would mean you would *always* have to do that, which might be annoying.
I’m sure tech support may have a better answer, but there is no simple way to do that.
When post’s image is portrait (wider than high) everything is perfect, but when post’s image is vertical (taller than wide) I need the image to be left aligned and not filling the whole content body width.
So I can’t save those images as Featured, but I need its thumbs for the frontpage.
I’m using Post Template Style 2 through the site.
Example:
Here is a post with vertical image.
On the frontpage of the site, Block 2 “Noticias” seems a blank image instead of the article’s image thumb (article’s image is not Featured).
You know, the theme is creating the image’s thumbs anyway, so IS THERE A WAY TO USE THE NOT-FEATURED-IMAGE-THUMBS ON FRONTPAGE (BLOCKS)?
Regards,
Fz
Has anyone successfully implemented DFP into NewsMag? We’re struggling with it at the mo! Google’s script code is appearing fine in the <head> content of the page as it should – and we’ve placed the actual ad block code in a text widget (advertisment) at the bottom of the sidebar – and although the source code is appearing – the ad isn’t – see the blank space 🙁 Any ideas?
Yep, as I noted previously, the block-title custom CSS was the fix we used. 🙂
Hello,
I have google Ads on my website
http://le-meilleur-du-golf.com
They appear well when i use the Theme Panel > Ads, and if i decide to put an ad (Article bottom ad for example).
This will add an ad to every article of my website.
What if i want to add an extra Ad on a specific location on a specific page?
I have tried that, but the ad does not show up. Is this limited by the theme?
example of the page
http://le-meilleur-du-golf.com/golf-en-streaming/
In my Theme panel, i have define 2 ads, one at the bottom, one inline, after chapter 3.
These 2 are appering correctly.
Now in the page itself, i have added a Google Ad code for a 3rd Ad, right after the H2 title
Golf en Streaming live avec Golf Plus (Golf +)
That one doesn’t appear. Is this blocked by the theme? Do you have an idea?
thanks a lot for your great support!
Hi,
The “7 DAYS POST SORTING” pulls from ALL the posts the most accessed in the last 7 days NOT the posts that are published in the last 7 days, so it does not matter if a specific post, added in a block which uses a post sorting of this type, it’s 5 or 6 or 7 years old as long as it has been the most viewed post from last 7 days so you have posts older that 7 days in your top stories section because those old posts are among the ones that are most viewed within the last 7 days. We will try to improve the documentation to better illustrate this.
Thanks
Hi,
The “7 DAYS POST SORTING” pulls from ALL the posts the most accessed in the last 7 days NOT the posts that are published in the last 7 days, so it does not matter if a specific post, added in a block which uses a post sorting of this type, it’s 5 or 6 or 7 years old as long as it has been the most viewed post from last 7 days so you have posts older that 7 days in your top stories section because those old posts are among the ones that are most viewed within the last 7 days. We will try to improve the documentation to better illustrate this.
Thanks
Hi,
Thanks Chris!
@clearwood
The Visual Composer Frontend Editor button was removed from the theme as it’s not compatible with theme blocks.
I think you can leave it if you want, should work with the default elements but you should consider this if you have issues.
You can enable it like this: http://screencast.com/t/ObPqoA4By
@idansx
We will test it and we will release an update with the new version of VC as soon as they will fix issues that apparently they have with the current version. You can see their forum for more info: http://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431/comments?page=332
Thanks
Hi,
We know about this and it seems that it could be a render issue. We are still investigating this though and we will fix it as soon as we find a solution.
Until then you could use this custom css and adjust the line height of the block title like this: http://screencast.com/t/jdMqdqQuK
.block-title {
line-height: 30px !important;
}
Sorry for the inconvenience!
Thanks
Hi,
Please use this custom css to hide the excerpt on block 2/6:
.td_block6 .td-post-text-excerpt, .td_block2 .td-post-text-excerpt{
display: none;
}
For module 7 you don’t have a class that you can use to hide the excerpt so you can edit the module 1 file and add this class: http://screencast.com/t/MuGmEcxOAzpg then use it to hide the excerpt like this: http://screencast.com/t/MuGmEcxOAzpg
.module_7_excerpt {
display: none;
}
Thanks