Adding Php Codes into Artisteer.


Author Message
Zaki

Posted: 1/17/2013
Quote message 

We know that Artisteer does not support read php codes just like it does for Html and Javascript but atleast I found a way after some searching. By the way the Artisteer should add support for php inside Artisteer.
Click edit Html and add this set of codes.
<phpcode>
Your php code here
</phpcode>

Then download phpexec.txt (http://priyadi.net/wp-content/plugins/phpexec.txt) then
Rename phpexec.txt to phpexec.php
Upload to /wp-content/plugins/ directory
Activate the plug-in from WordPress administration menu

The advantage of this is you create a plugin eg lets for displaying a lists of specific category blog then upload to plugins directory, activate the plugin and the let the Phpcode call the plugin.

Not sure but think one can add any php codes apart from wordpress but this method is specific to Wordpress CMS .

Cheers javascript:insert_smiley('8-)')

Got it from here:
http://www.hongkiat.com/blog/execute-php-in-wordpress-post-page-and-widget-sidebar/ 8-) 8-)
 
Kris

Posted: 1/17/2013
Quote message 

I disagree. Why on earth would you want to add PHP inside Artisteer? If you know PHP just change the default output files yourselves directly with an editor. I haven't checked out Templateer lately but last I did it gave you the option to add hooks to your WP template.
 
Kris

Posted: 1/18/2013
Quote message 

I find your writing a little difficult to parse but I think you've misunderstood the purpose of Artisteer. Artisteer wasn't made solely for creating WP templates and what you're suggesting would turn the application more into a Worpress IDE instead of the generic theme/template-creation tool it was meant to be. PHP development differs quite a bit between Wordpress, Joomla and Drupal, and what about the people working in a .NET environmet?
 
Donna

Posted: 3/12/2013
Quote message 

Quote Kris:

Why on earth would you want to add PHP inside Artisteer? If you know PHP just change the default output files yourselves directly with an editor.


I found this thread while searching for how to edit the php code inside of Artisteer. To answer your question, it's because every time I tweak my theme in artisteer, then upload the change theme, I LOSE the custom code I've written outside of Artisteer. That is VERY frustrating. I need to be able to edit the code inside of Artisteer so my custom code will remain intact each time I upload a newer version of the theme.
 
Carmen

Posted: 3/12/2013
Quote message 

Quote Donna:

To answer your question, it's because every time I tweak my theme in artisteer, then upload the change theme, I LOSE the custom code I've written outside of Artisteer. That is VERY frustrating.


Donna, use a child theme. Do all you're custom coding in your child theme and only update the main theme through artisteer. Then you will never have that problem again.

http://codex.wordpress.org/Child_Themes
 
ddye

Posted: 3/29/2013
Quote message 

Not being a programmer in the slightest, I have found EmbedIt Pro by SuperThemes to be very useful.

You add the code inside the plugin (it looks like a page edit window), then you paste it into a page as an "HTML Snippet". Works every time.

Doug
 
Mahesh

Posted: 7/4/2013
Quote message 

:( other easiest way is simply use .htaccess and make webserver to treat all html file as php. doo google search on step for doing so
 
Andreza

Posted: 2/7/2014
Quote message 

Hi Carmen,

Please, tell me how to do that. Can I import the php files to the Artisteer project?

Where do I have to edit the child?

Thank you very much.
 
Kks

Posted: 8/8/2016
Quote message 

Here its all about Wordpress. i Need coding for core.Can any one please help me out where should keep PHP CODING.????????

:(
 
Methew Bond

Posted: 8/24/2016
Quote message 

Hi

Can you give me a example how to import php file into project???