Search Results for 'block'

Results from the Forum
Alin [tagDiv]
tagDiv Staff

Hi,

Add H1 using a Visual Composer text block or use the Homepage – with title template – http://screencast.com/t/gPl2da2W1Prm – the code in the page template it looks like this – http://screencast.com/t/AU3i9coHAdzO
Also you can check this topic as reference – https://forum.tagdiv.com/topic/best-way-to-add-h1-tag-in-homepage/

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

The theme doesn’t have such an option to block the ads on article from specific category, you can do this only with custom modifications, please check this solution – https://forum.tagdiv.com/topic/replace-adsense-code-of-ads-fields-in-a-category/#post-54692

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Did you used default page template in version 4? We changed the page templates in version 6, please try to use pagebuilder with title – http://screencast.com/t/uST39hilk the default sidebar should be added automatically. Please try this on a page and see if works. You can check this solution for default template – https://forum.tagdiv.com/topic/joke-no-sidebar-with-visual/#post-53451

Also if you can use default page template and add Widgetised Sidebar block using Visual Composer to display your sidebar – http://screencast.com/t/MToOqSRhAkgS

Please provide more details if this doesn’t help, also a link so we can take a look.

Thanks!

fadoum
tagDiv Member

This is the same problem I’ve been having since I upgraded and updated. The icons for editing individual blocks are not there. I can only move or delete whole blocks but not edit. Please help. I haven’t been able to use any of the really nice looking homepage templates.

zorlander
tagDiv Member

Thank you Marius, the CSS worked perfectly! The date is hidden on all posts.

It’s now showing on the blocks on the homepage. Do I need to use CSS to hide those as well?

Thank you for your help.

—Tim

momo
tagDiv Member

Nevermind. I finally got the coding right. Must go to bed..!

For those interested:
add_action('td_global_after', 'hook_td_global_after'); // hook used to add or modify items via Api
function hook_td_global_after() {
td_api_block::update_key('td_block_authors', 'file', get_stylesheet_directory() . '/includes/shortcodes/td_block_authors.php');
}

momo
Participant
#0

I have tried to make an authors page using the authors block, been looking at this post for the solution -> https://forum.tagdiv.com/topic/author-box-help/

It works fine when i insert this in the main themes td_block_author.php


$buffy .= '<div class="td-authors-description desc">';
$buffy .= '<p>' . get_the_author_meta( "description", $td_author->ID ) . '</p>';
$buffy .= '</div>';

But im trying to make it work from my child theme instead. I have added this to my child functions.php


function hook_td_global_after() {
td_api_block::update('td_block_authors',
array(
'map_in_visual_composer' => true,
"name" => 'Block Authors',
"base" => 'td_block_authors',
"class" => 'td_block_authors',
"controls" => "full",
"category" => 'Blocks',
'icon' => 'icon-pagebuilder-td_block_authors',
'file' => td_global::$get_template_directory . '/includes/shortcodes/td_block_authors.php',
"params" => array_merge(
td_wp_booster_config::get_map_block_general_array(),
td_wp_booster_config::get_map_filter_array(),
td_wp_booster_config::get_map_block_ajax_filter_array(),
td_wp_booster_config::get_map_block_pagination_array()
)
)
);
}

But it doesn’t work. Its probably me whos to tired to figure it out, but i dont get it. :/

Lucian
tagDiv Staff

Hi,

1. Those style options are not present anymore. In theme version 4 the icons were added using sprites, while now the icons are added suing a custom font which can be adjusted using custom css so you can set their size/color. There aren’t any options available for this so if you need different styles you need to design them yourself or get some to do it for you.
Try this css for the icons: http://screencast.com/t/Z07gYhwfKK

.footer-social-wrap .td-icon-font {
font-size: 25px;
color: black;
}

.footer-social-wrap .td-social-style-2 .td-social-icon-wrap {
margin: 5px 6px 5px 0;
}

2. These seem to be widgets titles: http://screencast.com/t/h4mBBDIzENo not a duplicate content so check the tabs and edit those widget and remove any titles you find there then empty caches and/or purge files and test again.

3. Buttons shortcodes can be added to the posts pages even if you don’t use VC page builder there. You can enable the page builder on posts pages then add and customize the buttons there: http://screencast.com/t/BuC8hOsw8po0 or you can create the button on any page using VC pagebuilder then add the button shortcode to posts’s content, like this: http://screencast.com/t/TGdneMymGhttp://screencast.com/t/ug1KH2pvEBEG

Please also note that blocks haven’t been removed. You can still use that block you’ve mentioned, it’s block 1 on one column: http://demo.tagdiv.com/newspaper/block-1/ so you have to use another footer template and set the content you want for it choosing block 1 widget.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately theme doesn’t have such an option to filter articles per slide. You cannot achieve this without custom work, sorry!
You can try this solution to control articles hoe to appear on Big Grid Slide or any tagdiv blockhttps://forum.tagdiv.com/topic/top-posts/

Hope this helps!

Marius
tagDiv Staff

Hi,
You can add the code directly in files, like here: http://screencast.com/t/3PwdK4kOdThx
Then add this CSS in Theme Panel -> Custom CSS for a better alignment

.td-sub-footer-container .dmca-badge {
margin-right: 18px;
display: inline-block;
line-height: 1;
vertical-align: middle;
}

Result: http://screencast.com/t/QQUJ8TEX

Thanks for the message!

nf_prt
Participant
#0

Hi,

1st things 1st, new version of Newspaper is awesome! 😀 I really like it a lot so far, thank you for the upgrade and your great work.

In this version, if SHOW DATE option is off in the theme panel, the date never gets printed at all. Before, the date would get printed but hidden afterwards. Is it better this way? I prefer to print the date and hide it, I believe that it helps SEO to print it but I also read that search engines don’t like a page that hides (via css) too much things from users. So in the end, is this just a personal choice? [this is just a thought not an issue submission, I already customize it to my needs] Also, the function seems a bit “redundant” as it sets something to be hidden if printed but it never prints it anyway. This is no problem at all, just my OCD kicking in 😀

But I do have an issue: I never hide the dates, except for one custom post type. And for that custom post type I want to hide the date only when viewing the post it self, the dates should keep showing elsewhere like blocks and sliders. So I have something like this:

if (td_util::get_option('tds_p_show_date') == 'hide' || is_singular('custom-post-type') ) {
$visibility_class = ' td-visibility-hidden';
}

It partially works, the blocks in homepage show the dates and when I click and go to the post itself, the date is hidden. The problem is when viewing the custom post itself, if its side bar contains a block with more posts of that type, the dates get hidden there too in the block.
How can I hide the date only under the title but get them to appear in the sidebar widget block?

This issue is not important nor urgent so I don’t mind waiting for help/answer if you have urgent or more important things to do. It might not even be possible to do what I want without changing too much the current mekanism of hiding the date, and in that case it’s not worth it to waste time thinking of a solution for something that is mainly aesthetic.

Thanks! Cheers!

fusion
Participant
#0

HI i have a problem that i cant find a solution. The slides show half picture and under the second slide everything goes wrong. I am trying to put slides in separate rows to add extra classes to them. please can you help me http://www.bozosolutions.com/new/

Alin [tagDiv]
tagDiv Staff

Hi,

Please try regenerate your thumbnails to fix size issue – http://screencast.com/t/63VTQ15j5rS Also if you want background color for Big Slide articles like in version 4 of the theme, please edit you page and set Style 4 – http://screencast.com/t/m8cWbDMRhttp://screencast.com/t/X71ujJmiiL
Unfortunately the theme doesn’t have an option for this, but you can try to change it using custom css in Theme Panel > Custom Css and apply a color for post titles on pages(it will be applied also on Big Grid Slide) – http://screencast.com/t/wCh0iuWQlRe

.td-module-title a {
color: #a465a5 !important;
}

If you refer to the block title in version 6.1 it was added an option in Theme Panel >Theme Colors to set a general color for all blocks/widgets titles – http://screencast.com/t/IcPkM5CMBhttp://screencast.com/t/c3u7wg6EXVo

In version 6 of the theme were changed the page templates, the sidebar that you see on those pages is sidebar added for latest articles. You can manually add a Widgetised Sidebar widget to your page content – http://screencast.com/t/UwD7n61Q if you want to use that template with Latest Article. Or you can set Pagebuider with title and the defautl sidebar will be add automatically, you don’t have to split the row – http://screencast.com/t/CZZO259mZ3

If you use unique articles and you have an issue with doubling articles, please note that this issue was fixed in version 6.1, so please update using this guide(FTP method) – https://forum.tagdiv.com/how-to-update-the-theme-2/

Please try to remove this code to not show author when the article is shared – http://screencast.com/t/UadS1GJEv and then use facebook debugger and see if works for your articles (fetch new scrape) – https://developers.facebook.com/tools/debug/og/object/

Thanks!

Marius
tagDiv Staff

Hi,

You can edit an existing block to get a portrait image or create a new block with API.
https://forum.tagdiv.com/api-blocks-introduction/

We want to create some example, and more better documentation about how to use the API.
Thanks for the message!

Marius
tagDiv Staff

Hi,

Just edit the block in page and set an even number on Limit post number like, 4, 6, 8, 10,….: http://screencast.com/t/nxawlw1n

Is not an advertisement there.

Thanks for the message!

Marius
tagDiv Staff

Hi,

1. Edit td_data_source.php file and add this:

case 'modified':
$wp_query_args['orderby'] = 'modified';
$wp_query_args['order'] = 'DESC';
break;
like here: http://screencast.com/t/DAIpte6g8diM

2. Edit td_config.php file and add this:

,'Modified' => 'modified' like here: http://screencast.com/t/llMbQVqcdJ3

3. Edit a block and select the filter: http://screencast.com/t/fAnYaYHVj

Thanks for the message!

CtrlP Press
tagDiv Member

Thank you to everyone who has contributed thus far. Some very lovely sites.

Ours is a mock newspaper site satirizing real news. We’re hoping to achieve a unique clean look, but don’t know how successful we’ve been lol.

Here it is:

http://ctrlp.press/front-page/

It’s still technically in dev, although it’s live with content.

Just a few more issues to fix… the one big one with the two Block 4s on the main page. Once that is handled, we will bring in Ad-sense while adding more content and then when we are satisfied, go to social media to drive traffic.

mp_batera
tagDiv Member

nice ! it worked now. Two questions:

I dont have any cache plugin in my website but i use cloudflare. Should i enable the ajax view count?

I enable the 7 days post view but in the blocks its showing very old ones. Is there a way to reset the counts so i can start to see the most popular of the week ?

societymediagroup
Participant
#0

Hi,

I am using Amazon Banner Ads for desktop and google ads for table and mobile. When I use the google adsense code, it overwrites my amazon banner.

I have the three tags that are used in the header ad template. I need my Amazon Ad to display only on desktop and my google adsense ad to only be displayed on mobile and tablet. How can this be fixed?

This is what I am currently using.

<div class=”td-visible-desktop”>
<div class=”alignleft”>
<script type=’text/javascript’>
amzn_assoc_ad_type = ‘banner’;
amzn_assoc_tracking_id = ‘xxxxxx’;
amzn_assoc_marketplace = ‘amazon’;
amzn_assoc_region = ‘US’;
amzn_assoc_placement = ‘assoc_banner_placement_default’;
amzn_assoc_linkid = ‘xxxxxxxxx’;
amzn_assoc_campaigns = ‘amazonhomepage’;
amzn_assoc_p = ’48’;
amzn_assoc_banner_type = ‘rotating’;
amzn_assoc_width = ‘728’;
amzn_assoc_height = ’90’;
</script>
<script src=’//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1′></script>
</div>

</div>
<div class=”td-visible-tablet-portrait”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– NewsWatch33 –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-xxxxxxxx”
data-ad-slot=”xxxxxxxx”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class=”td-visible-phone”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– NewsWatch33 –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-xxxxxxxxx”
data-ad-slot=”xxxxxx”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>

shubhra
tagDiv Member

I understand you have a lot of requests and implementing each is not possible. For now, I have just edited td_block_authors.php and added $get_users_array['number'] = '5'; in the code 🙂

Neelch
tagDiv Member

Hi
On macbook air:
http://i10.pixs.ru/storage/9/9/4/Snimokekra_1226222_17787994.png
On iphone 5s:
http://i11.pixs.ru/storage/0/7/6/IMG0495png_6809300_17788076.png
Do you see blank space before google adsense block?Please help me to delete that blank space.Thanks!

  • This reply was modified 11 years by Neelch.
Steven
tagDiv Member

@jamespayne here is a tip for you in your theme panel settings turn off the images settings that you don’t want and leave what you will use on your site in this way only the images for those blocks you need will be regenerate thumbnails….this is a awesome feature that was put in V6 take use of it…

  • This reply was modified 11 years by Steven.
simchris
tagDiv Member

There is a “beta” SHIM workaround that Radu came up with; not sure if it works with Newspaper 6 yet.
Idea is that you can build your home page with VC, then use the “shim” and turn VC OFF… downside is that you lose some of the more fancy features of VC; but your site will work with high traffic. VC is a bit of a memory hog so you have to both ensure your server setup properly for memory usage; including increasing default memory in your wp-config.php file (MANDATORY!), and limit queries on your post pages (e.g., have a “most recent” items block on sidebar, not 4 categories of news modules in sidebar; don’t use mega-menu, etc.).

AzharNadeem
tagDiv Member

Interesting…I am still getting 7 render blocking CSS resources (after clearing site and browser cache)
https://www.dropbox.com/s/e0ac7vvnaeun5wu/Screenshot%202015-06-24%2020.01.46.png?dl=0

Regards
Azhar

Ing Geek
tagDiv Member

@charly_vk tienes un server response de 1 segundo, es decir anda lento el servidor. Veo que tienes zencache, sin embargo no está activado la expiración para algunos tipos de archivo http://gtmetrix.com/reports/www.chicasfitness.com/w07wTjMa (leverage browser caching) . esto es sencillo si tienes apache solo tendrás que agregar unas líneas al htacces, si tienes nginx lo haces en el nginx.conf. Revisa en google como establecer los tiempos de expiración según tengas apache o nginx,

2.- https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.chicasfitness.com%2F&tab=desktop
Your page has 2 blocking scrip
Estos los eliminas con el functions.php que subí ayer.

Solo sustituye este funcions.php https://drive.google.com/file/d/0B-VBkiewxpMAM29uUkI5YWpneEU/view?usp=sharing

Para el css puedes usar cualquier plugin que te permita diferir el css, solo excluye el style.css

Saludos

Viewing 25 results - 35,476 through 35,500 (of 39,816 total)