- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspapertagDiv Opt-In Builder – Emails
- NewspaperBookmark – Save For Later
- NewspaperModules Builder in Newspaper Theme
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperLockers
- NewspaperLeads
Hello mahmoudfathymohamed,
If you want to add some ads on your website and you do not have more settings about the specific place where you want to add the ads, you have to introduce them using do_shortcode method. First of all, please notice that you have inserted the ad code in your custom code 1,2,3,… from your Theme panel, like this -> http://screencast.com/t/YEBdvQZldkY and then you have to use this code ->> <?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?> and paste it in the corresponding file to the desired place.
Hope this helps!
Thank you for the message!
Hello,
If the block 18 is on one column, then the image will be enlarged with css. This is the case with block 13 as well. They were not meant to display full width. The slide is the only element that has such a big thumbnail as seen here: http://screencast.com/t/x4yr1Oo5sfU (further down the page in that menu)
You could use a slide element with only one post and simply hide the arrows with css like so:
.home .prevButton, .home .nextButton{
display:none!important
}
Hope this helps.
Thanks.
Hello MrOrsh,
Unfortunately, our theme does not have such an option implemented to add some ads for your forum page. For achieving that, it is necessary to use do_shortcode method to add your custom ad in this kind of page. Please notice that you have to use this code <?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?> and you will place it in the bbpress.php core file, like this -> http://screencast.com/t/i6dr6auh2S2 and the result you should see here -> http://screencast.com/t/RTfHLss2RVpW In order to check your result, please ensure that you have inserted the ad code in the correct field, like this -> http://screencast.com/t/YEBdvQZldkY
(this is an example for custom ad 1).
Thank you for the message!
Hello,
There is an article top ad spot in our theme. you can find it here: http://screencast.com/t/nKUxo4F4S
This will however insert the ad below the featured image. If you want to have it above the image and below the title, you will need to edit the theme files to do it. You have to edit each file corresponding to the post templates (every post style has it’s own file).
You can use this code:
and add it inside the theme files: http://screencast.com/t/W6NJM10dJSab
Make sure you have an ad placed in the ‘custom ad 1’ spot.
Thank you!
Sorry, the page was password protected, you should be able to check it out now: http://www.arenainord.no/block18_test/
I guess the reason for the image displaying in such a bad way is because I have the block 18 in a 1/1 column, and it’s intended for a 2/3 column, like in the link that you sendt me. Or am I completely off?
Is there any other way I can display a single post in a 1/1 column? I tried to look at the slide block, but for displaying just one post the arrows and the mobile touch just messes it up.
Just to share some experiences improving site speed for the many who post here to discuss…
What I’ve also done (My site is an independent ‘hyperlocal’ news site – slightly bigger than hyperlocal really) which I think is good practice given FB Instant Articles and AMP (Already on Apple News for almost a year now) is almost ‘forget the desktop’ exists.
Due to 75%+ mobile visitors it seems good practice (if a ‘live’ news site with say 100+ articles per week) to get the site as fast and safe as possible – this may help others
– I’ve removed all home page blocks except ‘ticker’ – a lightweight grid with no slider- and a sidebar
– Removed all plugins or deactivated ones no required all the time
– Implemented Chris S .htaccess and functions.php tips exactly as described – inc image resizing
– Paid Cloudflare with page rules to remove wp-admin etc- following TagDiv recommendation settings except RocketLoader ON – Mirage in ON
– Removed my subscriber pop-up and won’t use one – promote subscriptions via another route – FB ads – Twitter ads perhaps
– Removed SumoMe and anything that fetches CSS externally
– I do run UberMenu on main site and ShiftNav on mobile (for a better user experience) – But run NO mega menu or dropdowns
– Currently RocketLoader (Cloudflare) runs and doesn’t break anything
– Only added Google Analytics via YoastSEO not on Theme Panel box – it’s there and working
– ADDED a user text box to point people to how to navigate the site – believe it or not saying ‘Press load more or click coloured category labels or main menu’ actually gets visitors to do that!
Results –
Before – GTMetrix – PageSpeed B YSlow C Page size (Homepage) 3.2MB Requests – 187 – Load time – about 7-10 secs
Pingdom 5-7 seconds
After – Page Speed A (96%) YSlow B (82%) Page size (Homepage) 1.2MB Requests 96 – Load time – 2 secs
Pingdom 700ms-1.3 secs
The theme still looks great on desktop but it’s not worth getting caught up in the aesthetics if the visitors aren’t looking at the pretty views – it looks brilliant on mobile and that’s what matters.
Hi Andrei, thank you very much for your prompt reply!
Yes, I’ve enabled the post view counter now but I still see a misalignement between the 7 days most popular posts http://screencast.com/t/ROekx1m5sFr (the first of which is http://screencast.com/t/hNQ2Ewzf) and what is shown on my home page (please see http://screencast.com/t/HrpMna5Q0kA). What could be the problem?
Now I’ve cleaned the cache In Settings->Wordpress Popular Posts and obviously I’ve lost my 24h, 7 and 30 days statistics but, before the cache cleaning I can assure you that the first 7 days most viewed post had more that 8500 visits and it still wasn’t displayed in the home page in the section “PIU’ VISTI” (i.e. 7 days most viewed posts); moreover the “eye icon” on that post shown that we had only 24 visits: why?
Endly, WPP stats is a wordpress facility why I’m forced to show to surfers the post counts (which could be a secret information) in order to use the 7 days post filter on blocks?
Thanks in advance for any appreciated help.
Giuseppe
-
This reply was modified 10 years by
gmaio.
Hello Sean,
The posts appear multiple times on your homepage because you have the same filtering on them. Please try to change the categories or apply an offset to your blocks: https://forum.tagdiv.com/block-settings-tutorial/
As for the social icons, they cannot be moved above the big grid as the sidebar only begins below it. The big grid will not display well on a single column.
Please follow this guide to see how to use visual composer properly: https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Hope this helps.
Thank you!
Hello,
The htaccess solution is the proper one but you need to copy the code over from stackexchange not the forum (our forum will convert the commas and they will not work in your htaccess properly)
Please copy the code from here:
http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
Add the code like this topic suggests: https://forum.tagdiv.com/topic/strange-chinese-symbols-replaced-icons-and-arrows/
Thank you!
How i can show a particular category items as list like menu in side bar like “most popular”. There is block called “Most popular category” but there is no option to select category..
Hm. Prefer to do this as a function, by de-enqueuing the hook, and I think I “might” have that sorted. And of course we don’t want anything minified by a plugin as we do that properly for static files for both js and css ahead of time …
Good thought, though, THANKS — appreciate the feedback! 🙂
We will be using WP Super Cache for this particular in house project.
I think I might have it sorted by doing a de-enqueue function, de-register, in functions.php — so just need to test that.
Have 99% on GTMetrix and down to 1.1 sec with photo and https but no caching plugin! — but only 92 desktop and 78 mobile on Google’s PageSpeed Insights test directly, due to the pesky render blocking crap. If I can get that damn last css file to footer, I’ll be in the home stretch.
Trying really hard to get WordPress to be as fast as our static main part of site where we have 100/100 out of all 3 tests with Google PSI. I’ll get there!! 🙂
Hi,
I want to place an custom ad on posts between social sharing and related post on my site (http://soutaoboa.com/as-vezes-um-carinho-cai-tao-bem/). But this one ad should only be visible to mobile visitors.
So:
I have a custom ad 1 and the code is in place (not adsense);
Did a call for the shortcode:
<?php echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘)?> on loop-single file;
On the style.css I have:
@media only screen and (max-width: 767px) {
.td-a-rec-id-custom_ad_1{
position:center!important;
};
The problem is that the ad is there but visible to everyone.
What I’m doing wrong?
Thanks
P.S. I have a child theme.
Hi
This code add a new attribute for the files with .js extension: http://screencast.com/t/nGNIekHRJAXZ When post template 8 or homepage post block from Visual Composer are used on the page there is an additional js loaded on the page which is not loaded from main js file of the theme. The above code does not apply the defer attribute for all js code and this seems to cause conflicts.
You can read more about how this attribute works at this url: https://developers.google.com/speed/pagespeed/service/DeferJavaScript#description
Unfortunately I can’t provide a solution now as are needed some researches in order to identify how this code will work properly with the theme. If you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks for the message!
Hello Driver67,
Unfortunately, our theme has not been designed to use sharing button for the home page (blocks/modules) but only for posts, sorry! If you want to have the social sharing for blocks/modules you have to find some plugins with this functionality and see how it works for you. Please notice that we have no recommended plugins in this regard and we cannot provide support for untested plugins. Another possibility for this case would be to hire a freelancer/developer to implement this functionality for you in our theme, because we cannot provide custom services at the moment, sorry!
Thank you for your understanding!
HI there,
I’m struggling with the most popular 7 days posts block filtering in my home page of my online newsmagazine http://www.ntr24.tv. Following Newsmag documentation, I’ve already enabled the theme 7 days post sorting switch (please see http://screencast.com/t/XgsBp8RfcAJR) and from site stats I see the list of most popular posts (please see http://screencast.com/t/zpG2FI41b9). I’ve also set up the filtering block on the home page (i.e. “PIU’ VISTI tab located in the home side bar please see http://screencast.com/t/AafLKotMs), but on my site home page, I still see the wrong posts (please see http://screencast.com/t/E6JVn0F9). As you can see, the first 4 posts displayed in the “PIU’ VISTI” section are different from the first 4 most popular in 7 days posts reported in the post view counting statistics!
The most commented posts (i.e. “PIU’ COMMENTATI” tab in the home side bar) instead works correctly (see http://screencast.com/t/476h08oJ9wLx). SO what’s wrong on the 7 days popular post listing in my home page?
Thanks in advance for any appreciated help.
Giuseppe
Hey guys, I’m working on adjusting the size of my top banner, but can’t get it to adjust sizes properly.
The option for changing the banner height wasn’t in the theme options, so I hopped into the wp editor.
I found exactly what I needed, but changing the height of the banner distorts the rest of the site!
I’m using the default header style. This is the change I made in the editor:
Before:
container
*/
.td-container {
width: 1068px;
margin-right: auto;
margin-left: auto;
}
/*After:
container
*/
.td-container {
width: 1068px;
height: 45px;
margin-right: auto;
margin-left: auto;
}
/*
My technique — manually adding a height, technically worked. The banner become the exact size I wanted it to be, but along with the change, my logo stopped appearing.
In short, is there an effective way to adjust the height (not only width) of the top banner? Just to be extra clear, I’m talking about the banner in “class=”td-banner-wrap-full td-logo-wrap-full”
Thanks!
Hi,
Unfortunately the link you provided does not work.
On your homepage the image is not the problem but the block itself.
Here is your block: http://screencast.com/t/vbKiywBCC0n
and here is the default one: http://screencast.com/t/PGmceyP2
Somehow the block width is getting altered. Your block no longer has the default width.
Please revert the theme to it’s default state and check your block again. If you have no modifications you know of, it could be a plugin issue so please also try to disable all your plugins except visual composer, clear cache and reset cdn files.
Let us know how it goes.
Thank you!
Hello,
Sorry but our theme has no such setting. If you want to change the background color of a row in visual composer, this can be done from the row settings: http://screencast.com/t/yGItmgIkG and then use this css:
.td_block_12 .td_module_wrap{
background-color: white;
border-radius: 10px;
margin-bottom: 10px!important;
margin-top:10px;
}
.td_block_12 .td_module_11{
padding-bottom:20px!important;
}
.td_block_12 .td-module-thumb, .item-details{
padding-top:10px!important
}
result: http://screencast.com/t/twJzIfr7Wi
Thank you!
Hello,
Posts and modules/blocks are 2 very different things. If you change the font on posts, it will not affect the homepage. You will have to change the fonts on modules and blocks from here if you want them to change on the homepage: http://screencast.com/t/OwTa4tChqxy
Thanks.
Hi,
I assume this needs extra coding, but I need for a type of posts a Portrait format thumbnails (because these are book-covers), is it possible to add a portrait thumbnail size for blocks? It would be great to know at least how much effort this needs to be done.
Thanks!
Hello DagensVerklighet,
We know about this mini BUG, I have added to our list of improvements and we will resolve in next update. Until we will solve this, you have to try a bit of CSS code in order to achieve the logo in your sticky menu bar. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-main-menu-logo {
display: block;
}
The result you should see here -> http://screencast.com/t/cG6BQtDgi1j -> http://screencast.com/t/N1ubIqtHS7
Thank you for your understanding!
Sorry for the inconvenience!
Hello TheRiz,
Please try to use the code below to align the top bar menu. Also, please notice that is the same code for each page/post/category page and it is not a simple task to change the functionality to appear namely an option depending on what page you are and for achieving this involves custom work. If you want to display more levels in the theme and you are not aware to the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!
The code is ->
@media (max-width: 767px){
.td-header-top-menu-full {
display:block!important;
}
.td-header-sp-top-menu{
display:block!important;
}
.td-header-sp-top-widget{
display:none!important;
}
.td-header-sp-top-menu{
margin-right: auto;
margin-left: auto;
width: 100%;
}
}
The result you should see here -> http://screencast.com/t/SCZwEgXm
Thank you for your understanding!
Hi,
the word-break code helped in this, thanks! Breaking with hyphens doesnt work for Block Titles because these titles doesnt need hyphens on their initial page, because its a wider page.
Thanks!
Hi
The time bestrewn each post displyed in trending now block it’s set at 3000 ms. You can increase this time by changing this value from tagdiv_theme.js: http://screencast.com/t/r2nGILK8kZ
Thanks!
Hi Bogdan!
I’ve not made any modifications to the theme width. I made a test page just with block 18 with no modifications to the row, as you suggested. Still the thumb is looks quite bad, check it out here: http://www.arenainord.no/block18_test/