Search Results for 'block'

Results from the Forum
Alin [tagDiv]
tagDiv Staff

Hi,

The Speed Booster is an optional plugin and it moves the css and js at the end of the page, this removes render blocking and improves the score on pagespeed, please check this guide – https://forum.tagdiv.com/how-to-make-the-site-faster/
Yes, it works with WP Super Cache plugin, as Speed Booster is not a cache pluging.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

I guess you use an old version of child theme and you have there a css for block title. Compare this – http://screencast.com/t/vpVH4F4zx Here is the css from version 4 – http://screencast.com/t/viA0TCCVOF
So I suggest to the latest version provided with the theme, you can find it in /code folder from files that you download from themeforest. Any old customization(code or css) have to be adjusted to work well in Newspaper 6.

Thanks!

edwardbeckett
tagDiv Member

Thanks Bogdan ~ I’ve actually gone a bit beyond the patch now… I’m using DFP for serving ads and I didn’t really want to modify core theme files… so I built a simple JS factory to insert DFP ads in the ad blocks without disturbing the theme… 🙂

Here’s the JS…

AdFactory

Alin [tagDiv]
tagDiv Staff

Hi,

Please check the Excerpts section form Theme Panel and set the excerpt type and control the length fro each module/blockhttp://screencast.com/t/DGZnyfTA1PR6
If you still have issue please provide your site url so we can take a look.

Thanks!

beikeni
tagDiv Member

Thank you for the reply.

A couple more things: I would like to add the review score on my custom grid element. The VS staff told me that if it can be done its through the theme’s meta info. I haven’t found any information around, can you tell me if it’s possible and if so, how to do it?

The second thing is the disappearance of the “…” at the end of the excerpt. I asked the VS staff and they have given me this answer:

3) By default our excerpt has a delimiter (…). Looks like your theme is modifying and removing it. You can contact the theme author and get rid of the code which is removing the delimiter.

Can you help?

Thanks

Alessandro

Alin [tagDiv]
tagDiv Staff

Hi,

You can filter by a specific category for example on Post Grid like this – http://screencast.com/t/n0WCsi1L5SRbhttp://screencast.com/t/dblud5bVh
The theme has an option to control excerpt in Theme Panel, but just for tagdiv blocks. You can add manually excerpt for you posts and it will appear event it appears on tagdiv blocks or VC element – http://screencast.com/t/DZbhrDE1tpEhttp://screencast.com/t/gW35xAnY
Here you can find and change more options for grid elements(or create a new template) – http://screencast.com/t/hA0UDAjIfhttp://screencast.com/t/NoGbHTeZo

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

You will have to write all tags names there, as the theme doesn’t have an option to target all tags on block filter – http://screencast.com/t/RsXz6TckR8

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Yes, unfortunately this is not an easy task and you will need custom modifications to achieve this, here you can find an example how this can be done for share buttons– https://forum.tagdiv.com/topic/can-i-edit-block3/#post-22779 and here you can find the share/like buttons used on posts(if it can help) – http://screencast.com/t/Fl0dqrEuz This is for version 4 of the theme, but you can adjust it for Newspaper 6. If you don’t have basic php/html/css experience I suggest to hire a professional developer to do this for you as we cannot provide any type of custom work at this time, sorry!

Thanks!

AilyRoot
Participant
#0

Hello

just want to confirm that is “POPULAR POSTS”, a predefined block on foote, means “popular posts on past 7days”?

leofratt
tagDiv Member

Thanks Andrei.

I followed the instructions and updated the theme, but I have found a problem:

All the pages that use Visual Composer are now showing all elements as “Text blocks”, with the shortcode inside. I send you a few screens so you can better understand what I mean:
Backend:

Frontend:

Thanks!

  • This reply was modified 10 years by leofratt.
hacatchev
Participant
#0

Hi, I was trying to use a vc block but want to specify which posts by post ID. I decided to use “display post shortcode” plugin and the shortcode allows me to specify post by ID#, but I am not able to make the shortcode output style look similar to that of the posts in VC block 11 (which also has title, author, date and excerpt). Do you recommend trying to use VC block 11 code which was used for the block and add this to add to admin custom style.css? Would that work or is there a way to use “display-post id” shortcode with the Block 11 to specify post id. The shortcode example for the plugin is [display-posts id=”845” include_date=”true” date_format=”F j, Y” include_excerpt=”true” wrapper=”div”]. I am somewhat novice wp user so maybe there is an easier way than this. I look forward to any help you can provide. Thank you!

pett
Participant
#0

I made a page by Visual Composer, and chose “Block 7” and “widgetized Sidebar.”
However, titles overlap.

This is my web site.
http://pettee.jp/

How can I fix this error?

fusioncloud
Participant
#0

I want to change the title colour & padding for a block (ex: Block 3), screenshot attached. I will use the block3 in different pages. I want that all block3 will be updated with colour & padding.
http://prntscr.com/90bukf

Can you give me a how to achieve it with screenshoot & custom CSS?

Thanks in advance 😀

Naama
Participant
#0

Hey
I have a site in hebrew (rtl), and couldn’t figure out how to change the directions of the big slide, so that the big image will be on the right, and the 3 small image on the left.
also, I’d like to know how to change the category setups in homepage (block 5/3 ect), so that the newest article will show on the right.

and one last question- how do I change the color of the post/page background?

Thanks!

SFS1991
Participant
#0

Hi everyone. I am trying to build a page with this Newspaper theme. But i have a problem. On my frontpage i have 2 blocks of the same title. I can’t change it and i can’t remove it. Does anyone now how to solve this? Thanks from now hope you can help me. See this link to see what i mean with the blocks..

1. http://i65.tinypic.com/1zeuj9e.png
2. http://i66.tinypic.com/34o1tet.png

The last 2. picture is the bottom of the site and it shows the same title and posts as the top block i have.

sqsy1989
Participant
#0

When i add several blocks on the homepage, the article always show all the content, but usually, it should only show several lines of the content. Is there any button to control this, i can not find it.

sunbysea
tagDiv Member

td_block_slide.php
Line 87
comment some code


$add_js_resize = ',
                //onSliderLoaded : td_resize_normal_slide,
                //onSliderResize : td_resize_normal_slide_and_update';

Finally these codes commented are appended to variable ‘$slide_js’;
But these codes commented will cause “Uncaught SyntaxError: Unexpected end of input” when ajax call is triggered.
So just remove these code commented or don’t appended it to variable ‘$slide_js’.
The ajax dropdown above Slide will run normally;

For your reference.
Thanks

  • This reply was modified 10 years by sunbysea.
  • This reply was modified 10 years by sunbysea.
edwardbeckett
Participant
#0

For those interested I’ve added a patch to support adsense XL leaderboards for 970×90…

Here’s a gist patch for the td_block_ad_box.php

jkellerer
tagDiv Member

So I created a new single_template based on the single_template_2.php file and the loop-single-2.php.

I am able to get it working. Basically I am trying to get a static do_shortcode(‘[ td_block_video_youtube playlist_title=”My YouYube Playlist” playlist_yt=”8hAwUt8-G34, F9S49fUqbVQ, TUdVeZ1pbuc” playlist_auto_play=”0″ ]’) with the shortcode directly under where the content is echo.

Jumping down to the get_content portion of the loop this is my code:
<?php echo $td_mod_single->get_content();
$vidarray['playlist_title'] = $td_mod_single->post->post_title;
$vidarray['playlist_yt'] = 'lxYtiIHcpVg, 5pVxWdnInWY, 2zUANqLVbhM, Q0R_K3QSb6o, 2yCfV9qL42k';
$vidarray['playlist_auto_play'] = 0;

videoSC = '[vc_row][vc_column][td_block_video_youtube playlist_title="TITLE" playlist_yt="'.$vidarray['playlist_yt'].'" playlist_auto_play="0"][/vc_column][/vc_row]';
echo do_shortcode($videoSC);
?>

calleyjs
Participant
#0

I’ve seen and used the workaround for getting events to show in the blocks using tags. However, I have one area where I want to list all posts and events but if I do not filter the events do not show up. Is there any way to select all tags? I was hoping an * wildcard would work but it did not.

Watashi10
Participant
#0

Hi, I would like to know if it’s possible to include a Like and a Tweet button below the titles from a block. Specifically, i would like to have them where the red rectangles are in this screenshot (that one is the Block 11 on the homepage): http://www.screencast.com/t/8IhNlhzc

From what I read on the forum I imagine that this is not an easy task, but maybe there is some way to do it for that kind of block 🙂

Sorry for bothering you so much and thank you for your time!

Best regards,

Elvis B.

Catalin
tagDiv Staff

Hi Sayeed,

You can try the code below for block 11.

@media (max-width: 767px) and (min-width: 500px) {
.td_block_11 .td_module_10 .td-module-thumb {
width: 100%;
}
.td_module_10 {
padding-bottom: 56px;
}
.td_module_10 .item-details {
margin-left: 235px;
}
.td_block_wrap .td-next-prev-wrap, .td_block_wrap .td-load-more-wrap {
margin-top: 20px;
}
}

For more customization is necessary custom work. I suggest to hire a professional developer to do this for you as this is not an easy task and we are not available for custom services at this time, sorry!

Thanks!

Radu
tagDiv Staff

Hi,

comment or delete this: http://screencast.com/t/cVAA0jb4 We are investigating the issue. That code ads a persistent class on each block for custom styling. The class is not normally used.

Catalin
tagDiv Staff

Hi Sayeed,

1. You can use the subtitle area for the content because that will not affect SEO. http://screencast.com/t/2jlgfqtGRHx (it is a simply p).

2. Please try the code below in Theme panel and remove your social icons, like this: http://screencast.com/t/Szk4raAVf

.single_template_11 .td-post-sharing-bottom {
display: none;
}

3) It is possible to achieve this thing but it is not a simply task. You need custom modifications and I suggest to hire a freelancer to do this for you as we cannot provide custom work at this time, sorry!

4,5) I don’t understand what do you want to change for Block 3 and Block 11. If you want to change the thumbnail size you must modify the td_config file like this: http://screencast.com/t/W6L3rcD1lVQJ .

Hope this helps.

Thanks.

Andrei L.
tagDiv Member

Hi

To use diferent modules on the category page you will need custom modifications in theme’s core files and I cand provide a quick solution for that. Instead you can use blocks from Visual Composer, which are built from different modules, following this steps:
– first you need to set the block in VC and add a specific class for it as it’s necessary a custom css for this particular case: http://screencast.com/t/RmC19Befc
– switch in backend editor copy this code: http://screencast.com/t/u3Ca4vZrRXda http://screencast.com/t/oej5d5DGAkH
– insert this code in category.php file like here: http://screencast.com/t/SRIR9kv4

<?php echo do_shortcode('[vc_row][vc_column width="2/3" el_class="class"][td_block_14 limit="4" category_id="6" ajax_pagination="next_prev"][/vc_column][/vc_row]');?>

After that add this css in theme panel > custom css:

.class{
width: 100%!important;
}

The result should be like here: http://screencast.com/t/mjgyiqSCKn
This code will display the same block on all categories pages. If you need different blocks depending by category it’s need a set of conditions like this: http://screencast.com/t/kDrGBrUE

<?php
if (is_category(13)) {
block for category with id 13 goes here
}
elseif (is_category(14)){
block for category with id 14 goes here
}
?>

To get the category id follow this link: http://screencast.com/t/RZuMUg8oM01

Hope this help.
Thanks!

  • This reply was modified 10 years by Andrei L..
  • This reply was modified 10 years by Andrei L..
Viewing 25 results - 33,301 through 33,325 (of 39,816 total)