Trigger Bootstrap Modal with Link

Glenn Glenn's Blog 6 Comments

Triggering the Bootstrap Modal Window with a link is surprisingly easy. In our case we are using the excellent Pagelines DMS WordPress Framework which has the modal capability built in. Whatever you are using we assume that you have the necessary Bootstrap files integrated into your site or WordPress theme. It’s a simple 2 step process Add the Modal HTML Markup …

ThumbNailer Section the easy way to add Post Thumbnails to DMS

Glenn Glenn's Blog 0 Comments

Today I’m making my latest DMS 2 Section ‘ThumbNailer’ (ver 1.0) available for use on your Pagelines DMS Drag & Drop WordPress web sites.  DMS is great, but I’ve always found it weird that adding something as simple as a Post Thumbnail (Featured Image) to a post or page is not directly supported – so I quickly created this a section …

Pagelines DMS MediaBox add Link

Glenn Glenn's Blog 7 Comments

Pagelines DMS is a great WordPress Framework, but it still perplexes us why the MediaBox doesn’t include a link option out of the box. As you may know you could simply add HTMl for the image link in the ‘Text and Embed HTML’ field and keep the MediaBox Image field blank. Instead here is our way of adding a link …

Pagelines DMS Full Width Section

Glenn Glenn's Blog 0 Comments

Pagelines DMS is a great Framework for building awesome WordPress sites on, but it isn’t perfect (just yet anyway). It is however extensible and if for example you want a module/area of your site to do something you can simply create a custom section (see Pagelines Docs on creating a Section). We’ve already created a few for our own specific …

PHP Echo If Examples

Glenn Glenn's Blog 0 Comments

There are a number of ways to echo PHP ‘If’ a statement is true. The most common syntax is:- So something like:- The example will output if the current time (HOUR) is less than 12. Echo HTML or PHP in PHP If Statement We also like to use an alternate echo that allows you to inject PHP or HTML within the …