Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Tubepress Doesn't Work On A Wordpress Php File

wordpress

Best Answer Alvaro Gomez, 15 November 2013 - 02:08 PM

Hi,

 

I have a Wordpress page. I'm using the free version of tubepress plugin.

 

When I insert the code in a page:

 

[tubepress mode="user" userValue="user"]

 

It works perfectly. 

 

But I'm customizing a page, and I insert the code: [tubepress mode="user" userValue="elrubiusOMG"] in the php file, it doesn't work. The code appears as a text.

 

Any help please?

 

Thanks in advance

 

The solutions for this is

 

<?php
echo apply_filters('the_content', '[tubepress mode="user" userValue="username"]');
?>
Go to the full post


  • Please log in to reply
2 replies to this topic

#1 Alvaro Gomez

Alvaro Gomez

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 11 November 2013 - 09:58 PM

Hi,

 

I have a Wordpress page. I'm using the free version of tubepress plugin.

 

When I insert the code in a page:

 

[tubepress mode="user" userValue="user"]

 

It works perfectly. 

 

But I'm customizing a page, and I insert the code: [tubepress mode="user" userValue="elrubiusOMG"] in the php file, it doesn't work. The code appears as a text.

 

Any help please?

 

Thanks in advance



#2 Alvaro Gomez

Alvaro Gomez

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 15 November 2013 - 02:08 PM   Best Answer

Hi,

 

I have a Wordpress page. I'm using the free version of tubepress plugin.

 

When I insert the code in a page:

 

[tubepress mode="user" userValue="user"]

 

It works perfectly. 

 

But I'm customizing a page, and I insert the code: [tubepress mode="user" userValue="elrubiusOMG"] in the php file, it doesn't work. The code appears as a text.

 

Any help please?

 

Thanks in advance

 

The solutions for this is

 

<?php
echo apply_filters('the_content', '[tubepress mode="user" userValue="username"]');
?>


#3 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 20 November 2013 - 12:29 AM

Hi Alvaro,

 

I am glad that you were able to find a solution to your issue.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!