Zaki
|
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('')
Got it from here:
http://www.hongkiat.com/blog/execute-php-in-wordpress-post-page-and-widget-sidebar/
|
|
Kris
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
Here its all about Wordpress. i Need coding for core.Can any one please help me out where should keep PHP CODING.????????
|
|
Methew Bond
|
Hi
Can you give me a example how to import php file into project???
|
|