Comments guptaanshul281980 started the conversationJune 26, 2019 at 11:31amHi Team, I want to display blocks of programming code in my tech posts. Many websites i see it displayed differently, like screenshot attached. Is it possible to do it in soledad theme. Thanks 2,700PenciDesign repliedJune 26, 2019 at 4:15pmHi,As you can see that's an iframe: http://prntscr.com/o710lm With WordPress theme - I recommend you use <pre> and <code> tag to display the code.And you can use more some stylesheet to make it look betterCheck more here:https://www.wpbeginner.com/wp-tutorials/how-to-easily-display-code-on-your-wordpress-site/Best Regards,PenciDesignguptaanshul281980 repliedJune 27, 2019 at 6:07amThanks Team for the quick response.I'll go with the plugin option, which is easier for me as i am not a wordpress techie.Again thanks for quick response. please close the ticket. Sign in to reply ...
Hi Team,
I want to display blocks of programming code in my tech posts. Many websites i see it displayed differently, like screenshot attached. Is it possible to do it in soledad theme.
Thanks
Hi,
As you can see that's an iframe: http://prntscr.com/o710lm
With WordPress theme - I recommend you use <pre> and <code> tag to display the code.
And you can use more some stylesheet to make it look better
Check more here:
https://www.wpbeginner.com/wp-tutorials/how-to-easily-display-code-on-your-wordpress-site/
Best Regards,
PenciDesign
Thanks Team for the quick response.
I'll go with the plugin option, which is easier for me as i am not a wordpress techie.
Again thanks for quick response. please close the ticket.