- 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
Thanks. What I’m actually experiencing is the following:
1-choosen block11
2-filled in “Category filter:” – value “NEWS”
3-filled in “Filter by tag slug:” – value “juventus”
It seems it actually works as I expect: I see only posts categorized as “NEWS” AND tagged as “juventus”.
Can be this behavior working on block 11 only ? (I think big grid work same manner)
Fabio
Hi,
The posts from blocks can be filtered by category OR by tag and the default one is filter by category – http://screencast.com/t/rPqwwPT0 You would need custom modification for this and it is not an easy task I suggest to hire a professional as we cannot provide custom work at this time as we work on updates/development and support. Sorry for this!
Thanks!
Hey,
I wanted to replace module 6 within block 3 with module 7. This is because there’s no block that calls on module 7, which I want as my frontpage.
I did this by editing the td_block_3.php file and making it call on module 7 instead of module 6 as well as making it so that it only uses the one column layout. You can see how I did this here: http://i.imgur.com/Tz5JHhu.png
Now, this works when I do this within the parent theme. However, when I try to do this within the child theme it doesn’t work. Could you recommend to me the best way to do this through a child theme to get the results I’m looking for?
Any help is much appreciated, thanks.
Yes. Visual Composer is a memory hog.
Also if your site gets overloaded with requests. I just posted note on the Newsmag forum about our site getting slammed by the YANDEX bot and our server processes when from normal of about “1” up to “49” … which is 50x normal (!)… it’s actually worse than that. We blocked Yandex and it’s coming down to normal.
Hi,
i’m using NewsMag and Event Manager. Everything works except one thing.
On my blog i have sidebar with latest artciles (NAJNOWSZE ARTYKUŁY): http://www.edurozrywka.pl/blog – the dates of articles are dispayed correctly, as they should be.
The same sidebar is displayed on the signle event view, as in these samples:
http://www.edurozrywka.pl/szkolenia-otwarte/szkolenie-komunikacja-w-zyciu-osobistym-2015-04-13
http://www.edurozrywka.pl/szkolenia-otwarte/szkolenie-automotywacja-w-zmianach-2015-04-20
The problem is that in second case all the articles in sidebar are taking the date for the event.
How to change it or display another sidebar (i have second one without widgets with with blocks).
Please help.
Hi and thanks in advance,
I updated the theme a few days ago, I notice i see a warning in chrome:
https://support.google.com/chrome/answer/1342714
When i check the console I see many errors:
element.style {
}
.td-content-wrap {
position: relative;
top: 0;
left: 0;
}
* {
line-height: inherit;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
div {
display: block;
}
Inherited from div#td-outer-wrap
* {
line-height: inherit;
}
Inherited from body.page.page-id-201.page-template-default.logged-in.admin-bar.emergency-room-near-me.white-menu.wpb-js-composer.js-comp-ver-4.3.5.vc_responsive.td-boxed-layout.customize-support.td-js-loaded
body, p {
font-family: Verdana, Geneva, sans-serif;
font-size: 13px;
line-height: 21px;
color: #222222;
}
body {
visibility: visible !important;
}
* {
line-height: inherit;
}
Inherited from html.js_active.vc_desktop.vc_transform
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
* {
line-height: inherit;
}
Pseudo ::before element
*:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
Pseudo ::after element
*:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
position0
0margin‒
‒border‒
‒padding‒
‒1349 × 2933‒
‒‒
‒‒
‒‒
‒
.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1Z.Cb
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&su…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400it…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Droid+Sans%3A400%2C700%7CDroid+Serif%3A400%2C700%7CArimo%3A400%2C700%7CVollkorn%3A400%2C700’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&su…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400it…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Droid+Sans%3A400%2C700%7CDroid+Serif%3A400%2C700%7CArimo%3A400%2C700%7CVollkorn%3A400%2C700’. This request has been blocked; the content must be served over HTTPS.
s:1 Refused to display ‘https://googleads.g.doubleclick.net/pagead/drt/si?p=CAE&ut=AFAKxlQAAAAAVRBX…rh_k2nZ4nzX_yjto5JFX3sLi7uWdOjAhxyOfGViNG7bZ4YUFOl9VD1ZCFceKTpxq0UMQ&dpt=1’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.
s:1 Refused to display ‘https://googleads.g.doubleclick.net/pagead/drt/si?p=CAE&ut=AFAKxlQAAAAAVRBX…acem6sxibGmFktPY71WwUf7-Eda_J-Dy7E47A8Yvf5_z1MCxzr5gbuezX2GhvV_xk1Gg&dpt=1’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.
s:1 Refused to display ‘https://googleads.g.doubleclick.net/pagead/drt/si?p=CAE&ut=AFAKxlQAAAAAVRBX…Cw4M8RFO0VrdEpnaVvnBMGNFGEmzlklJK14ZYE27_I3EFFXlR8YsSWvrwpmC0Z-vnZZQ&dpt=1’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.
my site is now behind an ssl and I dont use any external plug in in this pages.
any help would be appreciated.
.
Hi,
@lospicos
Those scripts are usually automatically moved to the footer when using the speed booster plugin however the jQuery scripts aren’t moved to the footer by the speed booster plugin in case you use rev slider plugin. There is a condition in the plugin that if you use the revolution slider plugin then the jQuery scripts will be left in the head therefore you get the render-blocking JavaScript notification.
@soumitmis
We recommend using just page cache: forum.tagdiv.com/w3-total-cache-configuration/
For image compression we recommend a plugin like smush it: https://wordpress.org/plugins/wp-smushit/ not the w3 total cache plugin.
Check the treads/guide below for more info on how to customize your site’s page speed and other matters please follow and use all instructions provided in all this treads:
* https://forum.tagdiv.com/topic/pagespeed/
* https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
* https://forum.tagdiv.com/page-speed-guide/
Thanks
The question is if the block attributes category and tag slug are used in OR or AND to filter the results. I need a AND…
Hi,
Just decrease the width from the above code to reduce the images size on mobile and and if you want to hide the excerpt on mobile please use custom css to hide it: http://screencast.com/t/XMmQSva2S9L
@media (max-width:767px){
.home .td_block_11 .td-module-thumb .entry-thumb {
width: 150px !important;
}
.home .td_block_11 .td_module_10 .td-module-thumb {
position: relative;
float: left;
margin-bottom: 20px;
}
.home .td_block_11 .td_module_10 .item-details {
position: relative;
min-height: 135px;
margin-left: 200px;
margin-bottom: 40px;
}
.home .td_block_11 .td_module_10 .item-details .td-excerpt {
display: none;
}
}
If you don’t have basic css/html experience I suggest to get someone to do this for you as we cannot offer custom work. Sorry!
Thanks!
Hi,
The issue appears because you load the font file (which contains those icons) from another host/url – http://screencast.com/t/fKy2k43k9kc , the solution would be to load them from the same url as the site, or check this solution – http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
Thank you, Emil G.
Hi,
The theme dose have a tag filter which you can use to filter your posts after specific tags on blocks/sliders and this is not bound in anyway by the category filter, the posts that have that tag will be called: http://screencast.com/t/WvGwU06DTA
Hope this helps!
Thanks
i made this,
single.php (copy) —> single-gallery.php
loop-single.php (copy) —-> loop-single-gallery.php
Now i have special single.php for gallery format.
But i cant blocked ads in loop-single-gallery.php
Hi,
If you have unique articles enabled on page you will have different result on blocks even it is set the same settings. So please make sure that you don’t have this active: http://screencast.com/t/SQPnrNezWYTh
I’m not sure what you mean, but you can edit view count from custom fields: http://screencast.com/t/ovwSRJh30
Hope this helps!
Hi
We have categories for 2 different lines of posts: News and Long stories.
Each of these categories have sub cats, that drill down the scopes.
We have a home page with blocks that shows with different blocks news and various subcategories of stories.
Now we want to build several pages similar to the hoe but filtered for specific tags (we talk about football teams, we tag the posts with the football club name).
Can a block show posts using categories AND tags (intersection) instead of union like it seems to be now?
Thanks
I am having the same issue with my site, INSCMagazine, http://theinscribermag.com as the images on the main page take forever to learn and the images on Block 14 don’t show up at all, as well as the images at the bottom in the “latest articles” section. Please advise.
Hi,
You can try to use a fixed width also on mobile view like this and display title and excerpt under the image :http://screencast.com/t/eSzFdzj99vl
@media (max-width:767px) {
.home .td_block_11 .td-module-thumb .entry-thumb {
width: 180px !important;
}
}
Also if you want to display it the same like on desktop please use this css in Theme Panel > Custom Css: http://screencast.com/t/QLMicNRJF6Z
But on very small screens it will look like this: http://screencast.com/t/pHeQo2yiOz
@media (max-width:767px){
.home .td_block_11 .td-module-thumb .entry-thumb {
width: 180px !important;
}
.home .td_block_11 .td_module_10 .td-module-thumb {
position: relative;
float: left;
margin-bottom: 20px;
}
.home .td_block_11 .td_module_10 .item-details {
position: relative;
min-height: 135px;
margin-left: 200px;
margin-bottom: 40px;
}
}
Hope this helps!
Hey guys,
I’m running into a confusing issue content blocks. When I set them to display “all categories” sorted by “popular all time”, I’m getting different results in different areas on the page.
Rather than describing everything out , I made a quick screencast of the issue:
http://screencast.com/t/B5lV1lN2
Ultimately I want these blocks to show the same results.
—-
Also had a question about the “view count” in post settings.
If you toggle it off, does it actually kill the view-counting function “altogether”? I ask because I have blog articles that have outperformed (according to google analytics) previously popular posts by a landslide, however they don’t show up. Even if I change the block to sort by the parent category that the recent popular post is under… it still doesn’t show up.
Is there a way to reset the view counter or manually edit the view count of a specific post?
Thanks for any help with this.
//add the top ad
if (td_util::is_ad_spot_enabled(‘content_top’) and is_single()) {
$content = td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘content_top’)) . $content;
}
//add bottom ad
if (td_util::is_ad_spot_enabled(‘content_bottom’) and is_single()) {
$content = $content . td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘content_bottom’));
}
here i want to EXCLUDE one CATEGORY ID
Hello,
Thank you for the on-going development and premium support for your Themes. I would like to know if there is a way to use Tags alone and not categories to identify the posts I want to display in blocks/modules?
I hope you have a solution for this.
Have an Awesome Day!
Philip
Hi,
When I updated with the last version I hade realy problem with VC. VC changed the block slide which I use for feature posts.
I think the team do not need to update the theme every month. They should take time and check many time to secure all the bugs befor releasing the next versions. That will save for us a lot of time.
I will not update now my current theme version.
I Like this theme – almost the best theme for websites now. The more theme works with out bugs the more we will love it.
website:
http://www.ecofame.com
Best Regards
Ecofame
There is a category “Blog” which contains 6 subcategories. 1 of them has its own subcategory. I want to exlude this sub-sub category from block-6 cat switcher. Look at the screenshot below.
Thanks!
Hi, typically you need to
a) setup a page, create layout with visual composer, preview
b) go to WP settings > reading > first section
change to using the page name you created for home page
front page displays
[x] static page
>> page name
Hope that helped 🙂
Often what I do is just do a simple 2 column layout with something like
[ 2 col ] [ 1 col ]
in left column use block 11 for latest
in right column use widget area, temp use the default sidebar
make that live so home page works
then I create second page to mess with layouts until I like it, then swap the static page used for home page and delete the first page.
Hope that helped 🙂
Dear sir/Madam
I have installed the theme and made necessary changes.
Google page speed came up with the result like this
Remove render-blocking JavaScript:
http://www.estambul.net/wp-includes/js/jquery/jquery.js?ver=1.11.1
http://www.estambul.net/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
Optimize CSS Delivery of the following:
wp-content/plugins/jetpack/css/jetpack.css?ver=3.4.1
for the last file there as id “jetpack_css-css”
so i have used $this->move_style_to_footer(‘jetpack_css-css’);
For the first two there wasnt any id so i didnt know how to do that.
How i can solve the problem.
-
This reply was modified 11 years by
lospicos.
I am not having this issue; I’m using latest Chrome on Win7/64, which for me seems to work best with the theme management in general. I just updated all my ad blocks with updated color schema from AdSense so the text ads would look better. No problem at all in v1.6 or v1.7 (so far).
Try clearing all your caches, on website *and* in your web browser. Stupid, I know, but that always seems to be the culprit (well, not always, but often…).