Pages

Wednesday 23 April 2014

How to run php from wordpress blog

A quick update on the how to run php in a wordpress blog.

It's not a lengthy process but will need little work.

Download the plugin given here

The author of the plugin is Will Bontrager. You can find more about him here.

Download the zip file given in the above download link and save it in your local hard disk and log in to your wordpress account.

On the left panel bar click on "Plugins" and in sub menu click on "Add new" button.
In the install plugins page click "upload" and then browse and upload the zip file you downloaded.

Click install button given there and install it. Now click on "installed plugins" present in sub menu of Plugins.

In the plugins page look for "insert php"plugin and click on activate link given below it.

Now the plugin is activated to use. You can now use php in your wordpress blog.

But the normally <?php ?> tages won't work you have to use other syntax.

The syntax to use it is:

[insert_php] instead of <?php

and

[/insert_php] instead of ?>


like this:

[insert_php]
    //Your php code goes here
[/insert_php]


That's it guys now write your php in wordpress :-)


And note for viewers:
            Viewers if you find any grammatical or technical mistakes in any of my posts please comment about them in the respective posts. And i openly encourage you to share your ideas to improve the techniques or posts. Thanks guys.

Tuesday 22 April 2014

Ubuntu like network setting manager in Fedora 20

Quick Update:

I used fedora a long time back, one of the problems that bugs me is i can't find the network editor to change the settings. I am not saying that it is not available in fedora. It is not in a single click reach like in ubuntu. The problem still prevails in Fedora 20.

So i went on to find a easy way to access it and here it is, i finally found one.

Open your terminal in fedora (GUI users don't panic) and type the following command

nm-connection-editor

and press enter.



 A small window named network connections opens. It is same as the ubuntu network editor. Now use it to set your network settings for internet or intranet.




And note for viewers:

            Viewers if you find any grammatical or technical mistakes in any of my posts please comment about them in the respective posts. And i openly encourage you to share your ideas to improve the techniques or posts. Thanks guys.

Monday 21 April 2014

My failed ubuntu 14.04 upgrade

While upgrading from ubuntu 13.10 to 14.04 I accidentally pressed back the back button in a step when asked for creating a username. My installed ubuntu OS crashed. Luckily i backed up my data from it before upgrading. So nothing was lost. Don't worry, the install later worked properly when i tried properly. But you guys be careful and take precautions while installing it and don't forget to backup data first.