Warning: Invalid argument supplied for foreach() in…

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 »

How to add iframe tags in wordpress WYSWYG content editor

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 »

Error: WordPress Plugins Flickr + Highslide This photo is currently unavailable

I am getting this error in one of wordpress sites im working on. I added Flickr + Highslide plugin in wordpress that will able to display photos from the flickr photos. I was able to configure and create a set of photos in the flickr to be displayed in the website. I set using the […]






Continue Reading »

How to backup wordpress website?

To do a backup for all your wordpress websites is not that hard to implement. Actually there are plugins right now in wordpress that will able you to backup and download your database straight from your browser. In creating a backup of your sites, wordpress in particular, all you need is to have the following […]






Continue Reading »

Modify the links that are outside our website and set the target to new tab

One thing i learned today that it pays to look behind all the things you did. And as I was looking on a website i created it is a social website, I remember I placed a code, a javascript code that will seek all the anchor and check if those are links outside my website […]






Continue Reading »

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 87489 bytes) in /home6/sherkspear/public_html/wp-includes/functions.php

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 87489 bytes) in /home6/sherkspear/public_html/wp-includes/functions.php I got this error in wordpress after submitting a post in my website . The error message simply shows that the memory size has exceed the memory size i set in my website. The fix is simply increase the […]






Continue Reading »
ChatClick here to chat!+