Search Results for 'block'

Results from the Forum
Amit
Participant
#0

Hello team tagDiv,

Google AdSense doing a great job by providing various ad units to boost earning. But unfortunately, Newspaper’s ad panel does not support most of them.

For Google AdSense, theme adds its own conditions to the code like this:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><div class="td-g-rec td-g-rec-id-content_top  ">
<script>
var td_screen_width = window.innerWidth;

                    if ( td_screen_width >= 1140 ) {
                        /* large monitors */
                        document.write('<ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-XXXXXXXXXX" data-ad-slot="XXXXXXXXXX"></ins>');
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    }
            
	                    if ( td_screen_width >= 1019  && td_screen_width < 1140 ) {
	                        /* landscape tablets */
                        document.write('<ins class="adsbygoogle" style="display:inline-block;width:468px;height:60px" data-ad-client="ca-pub-XXXXXXXXXX" data-ad-slot="9450419862"></ins>');
	                        (adsbygoogle = window.adsbygoogle || []).push({});
	                    }
	                
                    if ( td_screen_width >= 768  && td_screen_width < 1019 ) {
                        /* portrait tablets */
                        document.write('<ins class="adsbygoogle" style="display:inline-block;width:468px;height:60px" data-ad-client="ca-pub-XXXXXXXXXX" data-ad-slot="9450419862"></ins>');
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    }
                
                    if ( td_screen_width < 768 ) {
                        /* Phones */
                        document.write('<ins class="adsbygoogle" style="display:inline-block;width:320px;height:100px" data-ad-client="ca-pub-XXXXXXXXXX" data-ad-slot="9450419862"></ins>');
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    }
                </script>
				</div>

and that’s the reason, matched contents ad, In-feed ads, in-article ads do not work correctly.
Ad units

Some of them work correctly on a mobile theme (using td-mobile plugin).

This is how ad looks after using theme panel for ads:
ads from theme panel

Ads by adding direct code or using 3rd party plugin, for example, Simplest Adsense Ads Manager – By Crunchify
https://image.prntscr.com/image/Urc4Xz5-REuEeDUaWqk-FA.png

I tried adding matched ads and working fine but activating td-speed-booster plugin breaks the ads.

If possible add condition to disable those conditions. Talking about the responsiveness, almost all the ad units are responsive by default so they will work correctly on the all screen size.

Thank you!

Catalin
tagDiv Staff

Hello Valentina,

Unfortunately, I do not exactly understand what you mean, sorry! Notice that you can manage the block settings according to our documentation from here -> https://forum.tagdiv.com/block-settings-guide/
If is not what you mean, please provide more details for a better understanding!

Thanks for the message!

Catalin
tagDiv Staff

Hello agidulyan,

No, you should check it manually and add this format for your blockquotes. Another alternative for you would be to use a bit of CSS code to achieve this style. Try the code below and place it in Theme Panel -> Custom CSS Area.

The code is here ->

.td-post-content blockquote p {
background-color: #fcfcfc;
border-left: 2px solid #4db2ec;
padding: 15px 23px 0 23px;
position: relative;
top: 6px;
clear: both;
}

Thanks.

Simion C.
tagDiv Staff

Hi,

All the available block post sorting options are mentioned in this guide
https://forum.tagdiv.com/block-settings-guide/
As stated above, there may be more options added in future theme updates, but for the moment you can only choose form the available ones.

Thanks

Catalin
tagDiv Staff

Hello DarkStarzs,

If you will import the Clear Voice demo, notice that all the style of it will be applied to your website. Also, if you want to decrease the white space you should use a bit of CSS code to do this. Try the code below and place it in Theme panel -> Custom CSS area.

The code is ->

.td_block_empty_space{
height:10px!important;
}

The result is here -> https://www.screencast.com/t/jnVOt314NPJn

Thanks for the message!

pem
Participant
#0

I am using VC to create frontpage. I want to display whole content (the_content()) of a post without thumbnail image. If i disable thumbnail size in “Thumbnail in Modules/Blocks” then it is effecting many other modules and blocks. If i want to make any changes in code for this then where i have to make changes in child theme.

Simion C.
tagDiv Staff

Hi,

The ajax filter tab can be filtered by entering the Id’s of specific categories that you want to display
https://www.screencast.com/t/nMIxktm6YdG
Here you can find all the available block settings and options
https://forum.tagdiv.com/block-settings-tutorial/

Thanks

TechDragon12
tagDiv Member

Here is some more information from Query Monitor: I’m also looking into how to fix it, but you would know better than me.

PHP Error

Warning
Cannot modify header information – headers already sent by (output started at /nfs/c12/h01/mnt/220821/domains/fabulously50.com/html/wp-admin/includes/template.php:1995)

Count
107

Location
wp-includes/rest-api.php:492

Call Stack
header()
wp-includes/rest-api.php:492
rest_handle_deprecated_function()
Unknown location
do_action(‘deprecated_function_run’)
wp-includes/functions.php:3817
get_currentuserinfo()
wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php:116
Vc_Mapper->userHasAccess()
wp-content/plugins/js_composer/include/templates/editors/partials/vc_welcome_block.tpl.php:13
vc_include_template()
wp-content/plugins/js_composer/include/classes/editors/class-vc-backend-editor.php:91
Vc_Backend_Editor->renderEditor()
Unknown location
do_meta_boxes()
wp-admin/edit-form-advanced.php:703

Component
Plugin: js_composer

myglobalnews
Participant
#0

I have couple of problems.
1. How can I change the color and text of the news ticker ?
2. How can I remove all the categories that comes with block custom tile ?
3. How to place HTML code ? It says: “html code here! Replace this with any non empty text and that’s it.”

TechDragon12
tagDiv Member

I went ahead and rolled it back. (version 4.7). I had backed it up anyway.

The rollback went ok, and the block choices are now appearing on the VC Elements. But it also started a couple of other problems.

I’m getting the “headers already sent” error here: /wp-includes/rest-api.php on line 492

Other problems (major):
The editor block is not showing up at all in “Backend Editor” mode. Only when you switch to classic mode.
Also, no elements are functional. They pull up, but when you click on them they do nothing.

Need help with this. Thanks.

agidulyan
tagDiv Member

how to change a background of blockquote, to do it like in the template (grey color and dark green line on the right)?: https://demo.tagdiv.com/newspaper_magazine/georgian-soldier-helped-in-attack-near-us-base-in-afghanistan/

ABrash350
tagDiv Member

ok, nevermind. I figured it out. My browser(chrome) was blocking the scripts.

All is well, for now!

Thanks.

Valentina
Participant
#0

Hello,
I have a problem. I would like to link the blocks in homepage (top posts under the header) to some specific category pages. Is it possible?
Thank you for your help!

Catalin
tagDiv Staff

Hello Dark,

If you will check the Block settings, there you will see the Offset posts option, like this -> https://www.screencast.com/t/DgDCkAxXKeC

Thanks.

Simion C.
tagDiv Staff

Hi,

Maybe you have some kind of ad blocker installed in the browser. Try checking with different browsers. If the Adsense code is correct, the theme will display it accordingly
https://forum.tagdiv.com/ads-adsense-overview/

Thanks

Oruc
Participant
#0

Hello. I have a problem with this mobile theme blockquote font. I want to change it ti another font and chabge style as normal text (not uppercase).

Please tell me where I can do this.

Thanks.

ronkybalazs
Participant
#0

Hello
I use the my wp-admin in hungarian, on the frontend everything translated corectly with only on press of the button, with this I am very satisfied. But one of my coworkers can’s speak english and there are some theme specific sections like the post settings block and and the featured video block which didn’t transale in the wp-admin.
Is there any posibility to translate also these?

Catalin
tagDiv Staff

Hello raj-guru,

Unfortunately, notice that our theme does not have any such an option that allows you to set the background only for the homepage, but please notice that you can use the following trick in this case. Try the code below and place it in Theme panel -> Custom CSS area.

The code is ->

.td-stretch-width{
display:none!important;
}
.home .td-stretch-width{
display:block!important;
}

NOTE: When the background image was been setup, the theme layout will become boxed.
Hope this helps and let us know how it goes!

Thanks for your understanding!

Simion C.
tagDiv Staff

Hi,

You can try a code like the one provided below. It will make the top menu display on mobile, and be sticky as well
https://www.screencast.com/t/imk5KSLM
The code must be entered in Theme panel->Advanced CSS in then phones section

.td-header-top-menu-full,
.td-header-sp-top-menu {
display: block!important;
}
.body-td-affix .td-header-top-menu-full {
position:fixed;
top:54px;
}

Thanks

Simion C.
tagDiv Staff

Hi,

The Big grids do not have the ajax filter option. Only blocks have that feature. The grids have other differences from blocks as well.
It would not be easy to implement the filter for the grids, and would require code modifications in the theme files (if even possible). You can only use the available filtering options, in the filter section of the grid slide.
Maybe this will change in future updates, and this will be available as an option.
Rows can only be split in a maximum of three columns, with the tagDiv composer. So you could only have three individual sliders on a row.

Thanks

davidgoldstein
tagDiv Member

As a follow up, the bare bones code, shown below, was used to independently confirm that the adsense was working and pulls the resource image successfully.


<!DOCTYPE html>
<html>
<head>
<title>Test Ads</title>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</head>
<body>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXXXXXXX"
data-ad-slot="XXXXXXXXXXX"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</body>
</html>

Catalin
tagDiv Staff

Hello Pierresrl,

You should clear all the caches and check the results. Notice that if the posts do not have the Featured image as a tag, should not appear in the blocks which are filtered by Featured. If the problem is still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further inspect your setup page.

Thanks for your understanding!

Catalin
tagDiv Staff

Hello TOPMagazin,

If you want to remove the pagination in Mega Menus and in above the Latest Articles Box, please use the code below and place it in Theme Panel -> Custom CSS Area.

The code is ->

.td_block_mega_menu .td-next-prev-wrap, .page-nav{
display:none;
}

Thanks for your understanding!

monoazulweb
Participant
#0

Hello,

For some time now I have been using the Newspaper theme, but with the implementation of TagDiv Composer some Visual Composer functions do not work properly, as for some reason it failed to recognize in the construction of the pages the specific “blocks” of the theme.

This “small” problem does not allow me to modify my pages in relation to the drawing, since due to lack of functionality in the construction and management of tables in TagDiv Composer, I can not migrate my page from Visual Composer.

The question is … Will any function be incorporated into TagDiv Composer to manage and create tables? Or, is there any way to visually map in Visual Composer again the theme blocks?

sil2
Participant
#0

Hi

I want to manage my advertising blocks based on language
For example – I want to have header ads available only for main language but no for all languages.
How can I do it?

Viewing 25 results - 23,851 through 23,875 (of 39,816 total)