Search Results for 'block'

Results from the Forum
Glitched
Participant
#0

Hello,

I’m not sure if this is possible without a bit of coding work, but it’s worth a try.

I am trying to have more than one font weight in a block title.
For example:

Example Title Bold Weight – Example text normal weight.

Is this possible?
Thanks.

clubedemidia
Participant
#0

Hi everyone. We done all the settings like the tutorial and it isn’t working yet. We’re trying to show the most accessed post of the 7 past days.

We’re not using any CDN or Cache. All the recommended plugins are installed and activated. No other plugins are installed.

BLOCK SETTINGS > 7 days sorting (enabled)
POST SETTINGS > Ajax View Count (enabled)

How solve this? It’s urgent.

deambris
tagDiv Member

Ok,

but I need more a block similar to block 7 and 8, but with title text under image. Block 16 does it in horizontal, but doesn’t in vertical row.

Thanks.

miguel_a
tagDiv Member

Hi Andrei,

thanks for the response. I’ve figured this on my own in the meantime when digging though the the API files, I’m in a rush:)

Now, this doesn’t work – it throws a Fatal error, when I put it into the plugin file. This is because the plugins are initiated before the themes, so I had to put it into a separete file and load that file on in a hook like this:

class uep_api_plugin {
/* vars and functions are here */

add_action(‘td_wp_booster_loaded’, array($this, ‘hook_uep_booster_after’));

public function hook_uep_booster_after() {
include_once(dirname(__FILE__) . ‘/widgets/td_widget_tagcloud.php’);
}

}

IMHO this is a little complicated. Have you considered allowing developers register a widget with some boolean parameter in the td_api_block::add() method?

Something like:
td_api_block::add(‘td_block_tagcloud’,
array(
‘map_in_visual_composer’ => true,
‘register_widget’ => true,
)
);

…And then creating and registering a class for each widget in the array?

Cheers

Jankow
Participant
#0

Hi,

I would like to have the excerpts from my posts show in block 10. How can I do this?

I’d like to be able to control the length of the excerpts in block 10 as well.

Thanks!!

Andrei L.
tagDiv Member

Hi

We’re sorry for for this inconveniences but indeed we have some missing information in our documentation. We will try to update it in shortest time possible meanwhile follow the steps below to solve this.
As a new registered block to appear in Widgets section it’s need to be registered in td_page_builder_widgets.php like here: http://screencast.com/t/lGsS5MDc
In my case I’ve registered the block named: td_block_111 and the result can be seen here: http://screencast.com/t/ix5QK3mR

class td_block111_widget extends td_block_widget {
    var $td_block_id = 'td_block_111'; // change only the block id, the rest is autogenerated
}
add_action('widgets_init', create_function('', 'return register_widget("td_block111_widget");'));

I hope this help.
Thanks!

  • This reply was modified 10 years by Andrei L..
Bogdan B.
tagDiv Staff

Hi,
First try the code in a default ad spot in the theme panel to see if it will display properly:
Then you can try it inside the theme files http://screencast.com/t/IMbThP1nkKp then if it works from the theme panel you can use a do_shortcode function inside the footer.php file like so:

(note that this code uses the custom ad 1 spot so you need to place your ad in the custom ad 1 field)
Thanks.

miguel_a
tagDiv Member

I am a developer and as a developer I naturally expect proper documentation. Of course I can register a widget on my own not using your API without a problem, but as you have an API and you promote it as an advantage of you theme, I would expect a documented API way to register a widget.

As you can see here: https://forum.tagdiv.com/api-blocks-introduction/ the widgets are mentioned however undocumented. So again, like I said, I registered a new block into the VC, which is working just fine, however ir does not automatically appear in the Widgets menu. And trust me, I am not going to reverse engineer your whole API, just because you forgot to write documentation for something…

So are you going to help me here or add the information into the API documentation?

Bogdan B.
tagDiv Staff

Hello,
1) Unfortunately there is no image size consistency if you use different blocks to display your content. Every block uses a different type of thumbnail.If you want all of them to show the same, you have to use the same block type on your page. Here is a list of thumbnails our theme uses: https://forum.tagdiv.com/theme-thumbs/
(the top 5 element comes from a plugin, and our theme has no such aspect ratio)
2) I think you are referring to the excerpts. You can change the excerpt length from the theme panel: https://forum.tagdiv.com/excerpts-introduction/
Thank you!

miguel_a
Participant
#0

Hi, I managed to create a custom block with the tagDiv API and I want to create a widget accordingly with the same settings, however the documentation only mentions there is a possibility to do that but no explanation how.

So how should i add custom widget with your API?

My new block code in the main file is: http://pastebin.com/azsHRgv2

Bogdan B.
tagDiv Staff

Hi,
I saw the link now. I’m not sure how you implemented the link though as it’s a block title and it has no URL specified in it’s tag. To make things easier, please send us an email at contact@tagdiv.com and provide wp-admin so we can access your back-end to see how you implemented it and provide a solution. Please also include a link to this topic so we can identify you.
Thank you!

Bogdan B.
tagDiv Staff

Hello,
1) You can use this css to reduce the footer height:
.td-footer-wrapper{
padding-top: 20px!important;
padding-bottom: 0px!important;
}
.td-footer-bottom-full{
margin-top: 0px!important;
padding-top: 20px!important;
padding-bottom: 10px!important;
}
.td-footer-wrapper .block-title{
margin-bottom: 20px!important;
}

You can change these values to your preference.

2)The theme has a function in it’s code that grabs the header logo if no footer logo is specified. You cna hide the footer logo with css like so:
.footer-logo-wrap{
display:none!important
}

Thank you!

Bogdan B.
tagDiv Staff

Hello,

The links are affected by the theme accent color: http://screencast.com/t/JWlBslIVJi but this setting does not affect only the links unfortunately. On blocks you can change the link colors from the block setting: http://screencast.com/t/aq1ZQJRSYpa but this will also change the title background color.
You have an optical ilusion going on with the modules/blocks links They do not seem to match the ones in the top menu or the footer (but they are the same color) so I assume that is what you wish to accomplish. In this case to make the modules and blocks hover color for the links match the links from the header and footer, you can use this css:

.td_module_wrap:hover h3 a{
color:#932222!important
}

(side-note: It’s best to provide as many details as possible with your requests. There are multiple links on a site and they come from different places. Simply ‘changing the colors of the links’ won’t do it. What links? where?)
If this is not what you mean, please provide more details.

Thanks.

Bogdan B.
tagDiv Staff

Hello,
Unfortunately the plugin is not tested to work with our theme and we have no idea of it’s functionality. THe visual composer blocks are set to display posts by default, but if you have none,m it will display nothing. We have gotten the blocks to work with the events plugin though. you can add your custom post type from your plugin (It could be ‘video’ or ‘media’ or how your “video post” taxonomy is called) and add it here: http://screencast.com/t/xZasYhD3fOr
I hope this helps.
Thanks.

Andrei L.
tagDiv Member

Hi

Try this css in theme panel > custom code > custom css to change the color for the indicated tags: http://screencast.com/t/s81Htc7P

.widget_facebookwidgetplus .block-title > span{
background-color: red;
}
.widget_tag_cloud .block-title > span{
background-color: green;
}

The indicated border it’s designed to appear on Newspaper theme, however this can be achieved using custom css like here: http://screencast.com/t/uWOwu4GXYu

.block-title {
border-bottom: 2px solid red;
}
.block-title > span{
top: 1px;
}

Let me know how it goes.

Thanks!

Andrei L.
tagDiv Member

Hi

Theme’s blocks have a predefined layout and changing it involve many customizations and tests. Unfortunately time does not allow us to provide any custom services at the moment so if you need this and 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.
However this might not be necessary as the theme have many blocks with different layouts. For example you can chose between block 3, block 5 and block 6 which have a similar layout with block 16 on 1 colon.
http://demo.tagdiv.com/newsmag/block-3/http://demo.tagdiv.com/newsmag/block-5/http://demo.tagdiv.com/newsmag/block-6/

Thanks!

simchris
tagDiv Member

All themes have ‘render blocking js and css’ … if you research this further, then you’ll learn it basically means some parts of the page were held up waiting for css and js before showing the top part of the page.

The included booster plugin helps with the theme css/js.

But other plugins, avatars, ads, jetpack, etc. can also impact this.

Trick is to fix everything *except* that as you can get a 90+ score then worry about that last as it’s the least important thing to fix.

*all* themes which include page builders, sliders, mega menus, etc., will have this “issue.”

Again – fix everything ELSE first!

  • This reply was modified 10 years by simchris.
airlift
tagDiv Member

isnt this a problem with the theme as its saying that there are blocking JS resources and css scripts and its showing up as critical error . I have just barely added some content using the theme and I dint use any js or css

simchris
tagDiv Member

Create video posts, then put them into a ‘featured video’ category, create a block on home page from ‘featured videos’ — anyway that’s how we do it 😉

AlexaB
tagDiv Member

Hello,

I have already done the above. All plugins were removed and the issue still exists. And I thank you for the warning, but photon has corrected the issue. Was there an update in WordPress that changed the way images are cropped? Because The issue only started after the last update. It refuses to use my images (THAT ARE WELL ABOVE THE MINIMUM DIMENSIONS) to fill in the entire space of the home page block images and the grid up top.

I have tried regenerating images, and I will not use the “force” version as it tends to break images. I cannot afford to fix 5000+ posts.

What is the underlying issue here?

cnetplanet
tagDiv Member

Hi Andrei,

1. Here is the link for your reference: Hello Tesla

I turned enabled category tags for all modules and it didn’t change anything.

2. I am not using any blocks to display these posts on the home page, so I am not sure how to use infinite pagination. I have select “All Categories” in “Post Loop Setting”.

I am not using any blocks here because it doesn’t show right-hand side bar when I use blocks for that.

Thanks again

Vittorio
Participant
#0

hello,
this is probably an easy question – maybe I’ve simply overlooked something (?)

in those blocks that show my last posts (of certain categories) I don’t want to show posts that don’t have an image (or featured image) at all, I know I can choose not to have a placeholder for images without featured images, but that doesn’t make the display of posts without images in blocks any nicer.
How can I hide posts without image from blocks?

muratkanatli
tagDiv Member

I took off the block… I tried with new page with vimeo playlist block, work only one video, when add comma and more video code, again black screen :/

like that:
http://www.yenicag.com.cy/yenicag/vimeo1/

http://www.yenicag.com.cy/yenicag/vimeo2/

Catalin
tagDiv Staff

Hello pasqualino77,

If you want to achieve this you have to use Tags your artists -> http://screencast.com/t/NDoqCx1rSINj and then you can filter your block by tags, like this -> http://screencast.com/t/qy9ZSqSzpfnC -> http://screencast.com/t/9H1pICXfSJ

Thank you for the message!

Bogdan B.
tagDiv Staff

Hi,
As you can see on our official demo, none of the category tags on the homepage have distinct colors: http://demo.tagdiv.com/newspaper/
If you are referring to the block text color, that can be set from visual composer, but the category tags will remain the same: http://screencast.com/t/DyIvZguRbOo
These category tags are different from the ones on posts that get the category color you set in the theme panel per-category: http://screencast.com/t/HwM45KMJKz – set from here: http://screencast.com/t/vnEmrEGR0Cr
Thank you!

Viewing 25 results - 31,401 through 31,425 (of 39,816 total)