Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #96271
    wsgreen
    Participant

    Hello,
    I’m using Catch Responsive Pro, and I am almost done with my project. My client wants to see page breaks <br> between the sentences in the content section of the featured image content. I try to put the tag in there, and the code strips my tags when it saves. Also, i changed the link color in the featured content color settings once, now It won’t display the link color at all. Please help, I need to get this finished so it can go live.
    https://www.creativenetworks.net/ocsga/
    Thank you.

    #96280
    Pratik
    Participant

    I will try to break down the issues.
    1. Featured Content not taking html tags
    * We disabled html tags for security reasons in featured content. However, we can allow some html tags which are safe. So, we will add it in next version update. If you want it asap, you can do following:
    * Goto file catch-responsive-pro/inc/customizer-includes/catchresponsive-customizer-featured-content-setting.php
    * Edit lines 307 and 321 from

    
    'sanitize_callback'	=> 'sanitize_text_field',
    

    to

    
    'sanitize_callback'	=> 'wp_kses_post',
    

    2. Link Color of Featured Content
    * Featured Content link color is for links in the featured content, this was only available in Featured Page/Post/Category featured content. If you mane above changes, now, you should be able to add links in Featured Content => Content
    So, now your change in link color will take effect. You can revert the color back to defaults by going to Appearance=> Customize=> Color Options => Featured Content Color Options and setting it to default using Default button

    #96416
    wsgreen
    Participant

    Thanks for the response Pratik. I was able to change those lines of code, now I can insert a <br> and a hyperlink in my Featured Image content -> Content section.
    However, the link/hover function of the links between the image and the content section still will not change in the customizer. Please let me know if there is a way to get the link to change color on hover.
    Thank you.

    #96520
    Pratik
    Participant

    Can you let me which link exactly you want to change color of? I can provide you code for it once I know which link you are talking about.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Include html tags in featured image -> content’ is closed to new replies.