Hello, I need to put a custom image size (book cover format) on my site. Currently I use flex block 1, and what best suits my images is the size of 696×0, the other formats do not work for me.
The problem is that in the home and other sections of the site, I show many books (rows of 6 books), and many 696 x images (other size) are loaded and it makes the site very heavy. I need to generate images eg 348×0 (half 696×0) on flex block 1 or other blocks.
I need to do the same (create a custom image size) in the block of related articles that comes out in a single template that I install from the cloud template.
And in that same single that I have installed from the cloud template, I need to add below the content these buttons that have a PHP code
<div class=”tiendas”> ” rel=”nofollow”>
&tag=bajarlibr-20″ rel=”nofollow”>
</div>
-
This topic was modified 6 years by
gpm79.
I put the php code wrong that I want to put in the single that I downloaded from the cloud template
<div class="tiendas">&linkCode=ur2" rel="nofollow">
&a_aid=" rel="nofollow">
" rel="nofollow">
</div>
-
This reply was modified 6 years by
gpm79.
Hi,
Unfortunately the only image size available on flex blocks are these -> https://i.imgur.com/g0Xp2In.png there is no option in theme to create other thumb size that can be use by flex block, this can be achieve only if you make change in theme files and these will be lost when you’ll update the theme.
The best way it will be to optimize your website -> https://forum.tagdiv.com/topic/speed-optimization-2/
Also the above php code can be set only in theme files and this is not indicate.
The code must be set in one of the files from this path -> wp-content/plugins/td-cloud-library/shortcodes/single the important thing is that you need to have that element on your cloud template and the code for buttons should work.
Thank you for your understanding!
Hi,
A place where the thumbs for flex block is create is this one -> wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php -> https://i.imgur.com/lAVEnyD.png
Also if you want to set the code in a flex block, like flex block 1 then the file is on this path wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php
Thank you!
Thanks for your answer, but could you tell me what codes should I clone and modify to add a new image size in flex block 1?.
On the other hand, I need to make the same modification, in the block of related articles that appears in a single that I install from the cloud library (Single Post Template 1)
Hi,
Unfortunately for this you’ll need a developer to make the changes in theme file, please note that these services are not covered by support team.
If you want, you can check our custom services from here -> https://tagdiv.com/web-development-services/.
Thank you for your understanding!