Custom Code to display Post Content

Posted in: Newspaper
Post count: 26

Hi and good day,

I am trying to include the Feature image on the left side of the content, and as i can see from the answers in this Forum that your theme doesnt support that using Blocks.

I coded the a shortcode to display the featured image and content and all working well, excpet that the content of the post are being fitered and the auto-links i have on each post are being disabled and not displayed.

which doesnt happened when using the Content Block, i tried disabling all filters using custom code but nothing works.

Is there any way i can fix this or customize the current content block to include the feature image.

Apperciate all the help,

thanks,

Post count: 27744

Hello,

Our theme has templates like this -> https://cloud.tagdiv.com/#/load/Single you do not need to use a plugin for this.

Thank you!

Post count: 26

Thanks for this, i can see none of the templates has the text wrapped around the content, so is there a way i can use custom code to work and display the links as well, as now its working well: https://wordpress-926915-3216996.cloudwaysapps.com/islamic-finance-in-2023-what-to-expect.html

except for all the automatic added links or glossary highlights are filtered out,

thanks,

Post count: 27744

Hello,

I’m sorry, but I’m not sure I fully understand what you are trying to achieve. Could you explain once again with some screenshots, please?
A solution for sending a screenshot/video is this:
Download, capture, send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link, paste it here.

Thank you!

Post count: 26

Sorry for Confusing you.

I am trying to display the image wrap around the text using css and php by adding it as shortcode: https://justpaste.it/6ni9n

here is the template created by using the code in link: https://wordpress-926915-3216996.cloudwaysapps.com/gcc-islamic-fintech-start-up-sets-foot-in-egypt-to-offer-shariah-compliant-payment-solutions.html

You can see all content with no green links inside it, which they are automatically added to content.

see this how the normal content looks like if not using the code: https://wordpress-926915-3216996.cloudwaysapps.com/islamic-finance-in-2023-what-to-expect.html

It seems there are some filter functions that filter and not allow the auto-linking into the content i created by using the custom code.

so is there a workaround for this?

Hope the above is clear thanks,

Post count: 21065

Hello @kindghost!

This will require custom work, which is not covered by the support team.
For customization and other services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/.

Thank you for understanding!

Post count: 26

I honestly cant see where is the custom work required, i am just asking of why your theme is filtering out those links when we display the content using code? so i am not asking you to do anything.

thank you for understanding!

Post count: 21065

Hello @kindghost!

You applied a custom code and asked why it was not working, right? Please note that we can help you only with the theme features that are not overwritten by something custom.

Thank you for understanding!

Post count: 26

Yes but there is a filtering function called from your theme, and as a theme developer i assume you know it, if i am the one who coded out the function that cause this by sure i wont be asking you guys about it. it will be much simplier if you just have one design with the feature image with the content wrapped around it, that wont lead us to custom code and haveing confilict with your code base.

thanks.

Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.