Hi, the penciblock item preview, when there is no image, the text is shown as if therewas an image.
I attach the example of what is happenning (ko.png) and what it should be (ok.png)
I've been takeing a look at the code and i am not pretty sure of how to change it, so i prefer asking first. I took a look at wp-content\plugins\penci-framework\shortcodes, there, in the block_6 (because is the one I am using) the file content-items.php
Hi, the penciblock item preview, when there is no image, the text is shown as if therewas an image.
I attach the example of what is happenning (ko.png) and what it should be (ok.png)
I've been takeing a look at the code and i am not pretty sure of how to change it, so i prefer asking first. I took a look at wp-content\plugins\penci-framework\shortcodes, there, in the block_6 (because is the one I am using) the file content-items.php
Can you help me to make it work correctly.
Thanks
Hi,
This theme requirements you to set featured images for all your posts. You should too
Best Regards,
PenciDesign
Hi, can you tell me how it is called the image variable to built a conditional for this?
It is ok that you told me this but the client wants that and I must built it the way he wants.
Hi,
If you want to do that, please open plugins/penci-framework/shortcodes/block_6/content-items.php file and on line 13, replace this code:
To:
Hope this help,
Best Regards,
PenciDesign