WordPress – Add custom fields in search
Add the code in this article to your functions.php file for a quick result.
Smaller solutions in my every day work. Also solving more complex problems I have encountered . If I may, reflections of my experience so far.
Add the code in this article to your functions.php file for a quick result.
To add some content to your post body, add the following to your functions.php file:
Adding the title autmatically can easily be done by making some small changes to your `functions.php` file.
The following code will help you remove a category from being displayed in your WordPress website.
Adding Twitter Bootstrap repository to your own project can be done by using Git Shell, with the following command: after accessing the folder where your project is cloned. libraries/bootstrap is the path where the bootstrap repository will be cloned.
On a clasical Linux Ubuntu Server LAMP (Linux, Apache, Mysql, PHP) with Webmin and Virtualmin installed, when creating subdomains, sometimes files and folders ownership issues appear. In WordPress, this is translated into trouble while updating plugins, wordpress itself or even…
The following two lines have been lifesavers for the situation where a picture is properly inserted into the PostgreSQL, but cannot be taken out and displayed, even if the headers and whatever else needed is properly in place: Hope this…
The following is a PHP programmer’s Linux beginner guide to setting up a development environment.
The code below added at the begining of the .htaccess file, will redirect non-www urls to corespondent www, as expected:
When using percents to define the width of an element, together with padding or borders, the actual size of that element is bigger than expected. That is because its width is now: percentage + (border/+padding). To avoid that, the following…
Below we have the code for a jQuery based background slider. No additional CSS or HTML modifications are required. The following slider creates DIV elements automatically and also resizes them to fit the window, together with preloading the necessary images.
The following is a modification of jQuery Swapsie Plugin. The mods applied allow the vertical swap between divs with different heights. Enhancements are required to allow horizontal swapping.