Hide video link from block 2

Posted in: Newspaper
Post count: 37

When I post just a video from youtube the link shows on home page http://i.imgur.com/BzNF77e.png – how do I hide it?

Post count: 3343

Hello,
I notice that, we will take a look about this.

Thanks for the message!

Post count: 37

Ok can you please let me know if a solution has been found

Post count: 9

I wrote about this problem here. 17 days ago and no receive response.
http://themeforest.net/item/newspaper/5489609/comments?page=41#comment_5417393

Post count: 3343

Hello,
Our developer still working on that.

Thanks for your patience!

Post count: 854

hello,
add this line:
$post_content = preg_replace(‘((( ht|f)tp(s?)\://){1}\S+)’,”,$post_content);

like : http://screencast.com/t/cTn1rNMG

Thanks for you message.
Radu A.

Post count: 37

Tried that but will not work. I get this http://i.imgur.com/2V2yMGU.jpg

Post count: 3343

Hello,
use this
$post_content = preg_replace('((( ht|f)tp(s?)\://){1}\S+)','',$post_content);
that was incorrect formatted when copied and pasted here. Sorry about that.

Thanks and Happy New Year!!!

Post count: 37

This time it does not break the theme but the problem still there http://i.imgur.com/6ZWDN4Y.png

Post count: 3343

Hello,
That links is not correct, the function provided, search for http and delete it, and there you have httpv, that link is incorrect. Edit your post and correct your link.

Thanks

Post count: 12

Where should I past the link please? On css custom style or …. ?

Post count: 22421

Hi,
This solution will not work in the current version of the theme unfortunately. This topic is almost 3 years old.
If you want to remove the youtube link, in newspaper 6+ there is a manual excerpt field in post edit. In this field you can add your excerpt and this one will be shown on blocks, not the automatic one: http://screencast.com/t/wZLrGP1Dcmcr
Thank you!

Post count: 12

Hi,
In my admin post edit there is no that field caled excerpt: http://screencast.com/t/4wtMWvgwx

Is it even possible to disable excerpt for certain categories and blocks so that I don’t have to replace with any text but want just the video to appear.

Post count: 12

Hi,
In my admin post edit there is no that field called excerpt: http://screencast.com/t/4wtMWvgwx

Post count: 22421

Hi,
What version of the theme do you use?

Post count: 12

version: 7.1.1

Post count: 22421

Hi,
Please check your screen options at the top of the screen and make sure all options are checked like so:
http://screencast.com/t/OItIYcynEtx
I hope this helps.
Thanks.

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