Frontend wp_editor for WordPress works for Media files upload when having a user role of admin. The issue starts when a user tries to use the frontend form wp_editor in uploading files using the Media buttons and all we get is an error notification saying “You don’t have permission to attach files to this post.” […]Continue Reading »
As a website developer, it is very useful for me to create an id for each pages of the website that I am creating. Creating pages with unique styles from other pages will need a unique id to target a specific page. For a solution we are going to generate an id from our unique page urls of each pages on our website. This may apply to other cms using php language as we will be using php in this example.Continue Reading »
A simple snippet posted here as a note and for all those who are looking with the form submit example. A very simple example that demontrates on creating a form with a submit and action.
The snippet would get the data submitted by a user using the form and will send an email to the admin.
First let’s create a page with the form ,let’s name it as our index.html.Continue Reading »
Chrome browsers adds a yellow border around the input textbox of our form even we already set the border to zero.
Firefox browsers would render a clean border around the input textbox of the form I created on my page. Setting border to zero to the input box would allow us to put a very nice background design for our input textbox. The default for input textbox will have a border 1px around the textbox.Continue Reading »
I have been in less than a month with the Exponent CMS team. Exponent is an exciting cms you could love working with in a long run. It may not yet on the top with the leading cms like Drupal, WordPress and etc.. but we are moving on that direction. I am currently studying the […]Continue Reading »
I encountered this warning message when I am making my own plugin in wordpress. I am using for each loop in php where I have arrays of array as its parameter. It was not hard for me to found the reason for the message Warning: Invalid argument supplied for foreach() in…. I noticed it is […]Continue Reading »
WordPress wp_redirect problem : Warning: Cannot modify header information – headers already sent by…
Wordpress wp_redirect problem : Warning: Cannot modify header information – headers already sent by…Continue Reading »
There are many ways how to add multiple sidebars in our wordpress blog. I used to do it by add everything in the sidebar.php and I add my conditions in that php file which makes the sidebar.php goes to 500-1000 lines of codes. [php] //inside my sidebar.php when i will have different sidebars for different […]Continue Reading »
I have come up with this after they did’nt provide a user interface like wordpress has offered. I was tasked to look for a better free auto responder and was pointed to Infinite Responder. So i need to install it to one of the server and see if it will satisfy our needs in sending […]Continue Reading »
Default WYSWYG content editor in wordpress does not allow iframe tags. I think iframe tag was not included in the default WYSWYG because it is not advisable to get contents directly from other websites. But for some reason we have to add iframes to our post. And it is a pain not to add it directly like other tags that is provided by the default wordpress WYSWYG content editor. As a web developer of course it is possible to add by modifying the files inside the plugin files or we can add it also in our themes files php. In my case i add it in my admin-init.php from my theme that i used in the wordpress.Continue Reading »