- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hello Radu,
thank you so much for your research! I changed it in between and used a plugin for that (Simple ads Manager). It works, but it is not the most beautiful solution. Would be much nicer with a textwidget and html. If you find the time, I could change it back and you check it again? Or I had another idea: Would be nice, if I could use a tagdiv-block with a link to the page. Is that possible? Or can I use the blocks only for posts?
Anyways, I appreciate your help a lot – thanks!
Timo
Could you please show me how? I have to find the code in the style.css file, I guess, but I’m not an expert…
Thanks,
Mario
Hi,
Yes @mariosem you need to style the default quote to be like quote_box_center
Thanks!
Hi,
1. In function.php are defined all sizes used by the theme: http://screencast.com/t/vtU2CNoe If you want you can replace the default value from Settings -> Media with some values from the theme(function.php)
Also if you don’t use all Modules/Blocks from Theme you can comment each line of image and that size will not be cropped by the wordpress(function.php)
Also you can decrease the JPEG image quality for smaller size adding this in function.php add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );
2. Just go to Posts and delete post you want, then delete them from trash to.
Thanks for the message!
Hi, Marius.
Works fine on v 3.6! Thank you so much. But you’ll need to teach me how to do this again:
How to insert a title before facebook comments, just like this image: http://i.imgur.com/HuZBs99.jpg
because you last code: $buffy .= ‘<h4 class=”block-title”><span>Your title here</span></h4>’; like here in http://screencast.com/t/XPbr03VKsMR
was outdate now.
Regards,
Cybergetro
Hi,
In my situation, I would like to display the Featured category in a slider but with the older posts in first.
It could be very useful to add an option to invert the sort order in the sliders (perhaps in the blocks too).
Is it possible ? Or a simple hack?
Thank’s
Hi,
I’m sorry if the solution not work as expected, I’ve tried. I recommend to hide a freelancer to make a custom code for your needs.
Thanks for understanding!
Hi Radu,
whne I use the WordPress native blockquote function, I would like to get by default the same style as the tagdiv shortcode [quote_box_center]. I have to change the style.css, I guess…
Thanks,
Mario
Hi,
Use center quote box this use full width.
Thanks!
hi,
to mariosem : can you show me how you wold like (print scrren from another site maybe), I don’t understand, sorry for this.
to enterpr1se: why do you think is called [quote_box_center]?
Answer: to stay on center !!!!!
you should have [quote_box_left] or [quote_box_right].
Thanks for you message.
Radu A.
Hi,
@Christopher
Style 3 is like your mentioned style 8
[ top menu + socials ]
[ full width logo ]
[ main menu ]
[ full width ad ]
Style 7 can be done easily combining those: http://screencast.com/t/Sh16OLMNkT
@Speedster
1. Can be done easily customizing the headers file used adding this line of code for each AD unit http://screencast.com/t/LO5ZsBdv0iJh here are the AD docs: https://forum.tagdiv.com/ads/
2. Can you show me exactly in which case, in a screenshot or something
3. Do you mean a header for ADS? The can be done adding this HTML above each AD:
<h4 class="block-title">
<span>My header line text</span>
</h4>
Hope this help!
Thanks for the message and for the suggestions!
Hi,
In v 3.2 we have changed the file structure and code, should be from there. Can you update to latest version and try again the customization?
Thanks!
Wordpress creates thumbnails as small/medium/large sizes as found in WP settings > media
It’s advisable to change these to the sizes you actually plan to use.
Additionally, the theme creates thumbnails for all the different modules sizes. Once you figure out what sizes you actually need, you could switch off the sizes you won’t use in t he functions.php file.
You can see all the images/sizes here:
https://forum.tagdiv.com/modules-and-blocks/
First, Not Setting -> Media with 3 size, I mean auto regenerate from newspapers theme.
http://i.imgur.com/xfo0cAB.jpg
or
http://i.imgur.com/VGPEY3m.jpg
I know this theme regenerate a lot of image size for every block style but for other than featured image, it cause a ton of unused images in website.
My site collect over 60 – 100 images per post so increase inodes to limit faster, I use other ways to reduce number of crop size
• DNUI plugin – I used 2 month ago, good plug-in to remove unused image without update 2 years. but now it cause problem to database and slow my website to crash.
• Image cleanup plugin – can’t remove because image “ref” to theme (see first image above)
• Free Host for Pic – Good choice but not answers.
Question
1. Possible regenerate size only feature image or not regenerate all images and use other plug-in create thumbnail instead ?
2. Is some plugin can regenerate thumbnail images (not featured) from upload file via FTP ? (prevent regenerate size by theme)
3. some plugin can remove unused image (except DNUI and image cleanup) ?
How to change [quote_box_center] align-left by default?
Thanks
To the developers: In the native WordPress blockquote, I need to get the [quote_box_center] style as a default, I like it a lot. What code do I have to change/replace, and how?
Thanks,
Mario
Don’t know is it bcs of 3.9 WP, but after missing shortcodes, now no matter how much I insert widgets in sidebars, they just gone missing. I did this couple of times, add them, then after about 10 minutes or so, they’re gone. And on my homepage block 2, doesn’t shows latest for category, just a random post from that category.
Hello Christopher,
thanks for your answer. I’m not an expert in styling, so I cannot customize using the right parameters. Using your code I’m getting something that doesn’t match my site style. Is there a way to get the combination I asked for?
Thanks,
Mario
You should be able to modify the blockquote to look however you wish, using CSS, as we did.
E.g.,
blockquote p {
font-size:20px !important; line-height:26px !important;
text-align: left !important; padding-left:20px;
}
Hello,
how can I style CSS in order to get the native WordPress blockquote just like the tagdiv shortcode quote left? In particular: font in black, no italics, left-justified, font size equal to the content?
Thanks,
Mario
You should be able to modify the blockquote to look however you wish, using CSS, as we did.
E.g.,
blockquote p {
font-size:20px !important; line-height:26px !important;
text-align: left !important; padding-left:20px;
}
-
This reply was modified 12 years by
simchris.
I found the quote_box only use half width of the post
The other half side may have text too
Is there any way to let blockquote use full width?
just like my old theme
http://www.enterpr1se.info/2003/03/love-a-person-you-can-do-the-same-love-of-a-lifetime/
Hi,
My version is the 3.0.
I istalled and configured Advanced Custom Fields and
I did this http://screencast.com/t/5FOgXORGMMp and this http://screencast.com/t/A7KWAo2hlNRf and even this http://screencast.com/t/xFyqF7MGDa (for child themes).
I got the same error message.
The line is different from your Screencast figure, the php line for content_inline has “and $tds_inline_ad_paragraph > 0” not showed in your picture [http://screencast.com/t/5FOgXORGMMp].
I tried to remove it, but I got the error message either.
Any clues?
Thanks for your support (and patience).
I’ve read the docs already. It is showing up on the post pages, but it isnt showing up on the blocks modules. Please give support. See for yourself http://mhmag.nl
Hi Marius,
I’ve changed the setting according to your solution.
But I get this problem:
1. The slider is not a full width slider
2. The slider image is above the frame with empty space below the image
How can I make the slider above the sidebar & content?

3. The width is no longer 3/4 + 1/4 , making the sidebar too wide and the content place too small.

Is that possible to have 3/4 + 1/4?
I can see that you have 1/4 + 3/4 in the layout setting, can you add one more in the future template update?
Thanks.