WordPress: How to upload image using script?

advertisement

wordpressJust migrated an old site to WordPress. This old website contain more than 1200 images and if i migrate manually it will take a long time. So i wrote two script, first to extract all the images and it’s description from the old website to a file. And second script is a WordPress plugin script to upload the image to it’s page and set the image caption (useful for gallery and lightbox description) according to the old website description automatically.

wordpress-upload-image-script

How to upload image using script in WordPress

Continue reading WordPress: How to upload image using script? »

Symfony 1.4 – Customize Admin Generator listing to show data from foreign tables

advertisement

symfony If you are using admin generator in symfony 1.4, i bet you will have the problem to customize admin generator listing to show data from foreign table. It’s common for us to display data from different tables within a listing.

To customize admin generator listing to show foreign tables data, follow the steps below:-

Continue reading Symfony 1.4 – Customize Admin Generator listing to show data from foreign tables »

Excel: How to sum filtered only rows?

advertisement

ms excelIn Excel, SUM() function is being used to sum a range of row data. However, it’s not able to sum filtered rows. But no worry, excel provide another function to solve this problem. You may try to use subtotal() to sum up all the filtered rows.

To sum filtered only rows in Excel, use the functions below:-

Continue reading Excel: How to sum filtered only rows? »