S.Wojnowski - web development

Helping make the web work for everyone.

Welcome to my website. My name is Sylwester Wojnowski. I am a full stack web developer who started programming for the internet in 1998. As a web developer I plan, design and implement intereactive internet technologies and applications for individuals and organisations.

Web Developer Zone

Web Developer Zone is a code first section devoted to tools and techniques used in web development. Thematically, the main focus here is on PHP, Linux, BASH, JavaScript and a little bit of MySQL and Python.

Pick of the week

Insertion Sort algorithm and sorting dates in PHP

Insertion Sort algorithm and sorting dates in PHP

03 May 2017 14:04:47


An article on sorting dates and times with insertion sort algorithm in PHP.


Read full article »

Recent

Find first image URL in WordPress post content

29 Dec 2016 06:59:28

Find first image URL in WordPress post content

Find first image URL in the article with PHP. function find_first_image_src($post) { $matches = array(); preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); return count($matches[1]) > 0 ? ...

Read more »

Genericons unicode values

21 Dec 2016 11:07:56

Genericons unicode values

A list of Genericons and their codes to be used in your CSS files. Here is how you use Genericons: .social-navigation a[href*="dropbox.com"]:before { font-family:"Genericons"; content: "\f225"; } Extracting genericons names and ...

Read more »

Sorting objects by their property in PHP

10 Dec 2016 13:10:14

Sorting objects by their property in PHP

Sorting objects by their property.. Prepare some sample objects: $to_be_sorted = array(); $chars = 'abcdefg'; for($i = 0;$i< 3;$i++ ){ $random_number = rand(1,99); $to_be_sorted[] = (object) [ 'num' => $random_number, 'str' => ...

Read more »

Setting home and siteurl dynamically in Wordpress

10 Dec 2016 09:44:06

Setting home and siteurl dynamically in Wordpress

Use wp_config.php or functions.php to set home and siteurl dynamically. Hard-coded constants In wp-config.php.: define('WP_SITEURL', 'http://<your.domain.here>/'); define('WP_HOME', 'http://<your.domain.here>/'); If these ...

Read more »

SWWW

S.Wojnowski - web developer

SWWW is my place on the web where I write on stuff related to web development. Main focus here is on my own programs and scripts, but also websites I have developed over years or helped develop, improve or maintain. In the Web Developer Zone I take a closer look at various solutions related to web development and computer programming.

If you find any of my projects interesting, useful or would like to know more on it, do let me know. This website has a contact form. Altenatively, you can leave a comment under an article on the blog.

Need a web developer?

S.Wojnowski - Hire a web developer

If you need a web developer for web development work drop me a line!

I am based in Wakefield, UK, but always happy to consider remote work opportunities.

Contact Me