Source name and link at the end of posts

Posted in: Newspaper
Post count: 30

Hi, we want to write just source name and not the url at the end of posts.
1.) Is it possible to disable the link cursor, when the url filed is not filled in?
2.) Sometimes url field is filled, but the linked site is open in the same window.
How to set, that linked sites open in new window?

thanks
cstibi

  • This topic was modified 10 years by cstibi.
Post count: 23312

Hello cstibi,

1) If you want to hide the hover effect over your source name you have to use a bit of CSS code to disable the cursor effect. Please notice that this type of code is per general and applies for all your posts. If you want to apply only for a specific post, you have to target this post by post ID. You can get the post ID like this -> http://screencast.com/t/hIoOuVQX2sT8 If you want to do this thing automatically, please notice that is not a simple task and you have to alter the code and add some condition (if/else statement). If you are not aware the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!

The code is ->

.postid-1057 .td-post-small-box {
pointer-events:none;
}

2) Unfortunately, our theme does not have such an option to set the new window for the source/via but you can add target=”_blank” attribute to the via and source URL like this: http://screencast.com/t/yoOl4J4eN

Hope this helps!

Thank you for the message!

Post count: 30

Hi, thanks for your answer!

2.) Is this theme setting function (set the new window for the source/via) feasible in next releases?

cstibi

Post count: 23312

Hello cstibi,

I have added this suggestion on our list of improvements but we cannot say for sure that in the next update this option will be implemented because this is decided only by our developers. We have a big list of fixes, improvements and suggestions to implement. It’s hard to filter them and select which one gets implemented now and which one gets postponed. The developers decide if it gets done or not, though. Until we can do it, you can use the solution above.

Thank you for your understanding!

Post count: 14

Where would I find the equivalent code for cloud templates. Adding target=”_blank” works on the built in templates, but I wanted to do the same thing on a customized cloud template?

Thanks!

Post count: 20688

Hi,


@ScottLehane
Using cloud post templates the source and via elements already have a setting to open in a new tab – http://prntscr.com/o9up4whttp://prntscr.com/o9upev
You could use that setting if you want the links set for he post source and via to open in a new tab.
If you have more questions let us know.

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.