News Feed | Presshost | Managed WordPress hosting

Framework 2.15

Error corrections have been the primary focus of this update.

Posted in framework | Comments Off on Framework 2.15

Framework 2.14

This version has many major structural changes in preparation for version 3.

Some minor errors have been corrected

Font-awesome has been updated to version 5

Posted in framework | Comments Off on Framework 2.14

Framework 2.13

Rebuilding of the CSS % blocks and some new MCE elements have been included.

Facebook Pixel support has been added natively.

Posted in framework | Comments Off on Framework 2.13

Framework 2.12

This update includes a major reshuffle of files within the structure as part of our aim to make the framework easier to update without losing customisation.

Some header elements have been removed, including ones that rely on external plugins. Improvements to the parallax feature have been implemented.

Posted in framework | Comments Off on Framework 2.12

Framework 2.11

This version includes extensive rebuilding of the WooCommerce integration.

Posted in framework | Comments Off on Framework 2.11

Framework 2.10

The latest version of our framework includes the Mosaic Image gallery, allowing text content to show on-hover over images. Individual images can be added using the single click button in the WordPress editor.

Some additional minor template adjustment settings have been added to the Seja Template settings section, along with some improvements to the site rendering.

Posted in framework | Comments Off on Framework 2.10

Framework 2.9

This update brings the main navigation menu up to date. While the original menu worked quite well, it was six years old and lacked some of the CSS3 goodness, such as transitions.

We’ve also made some significant changes to the file structure, cleaned up some of the form elements, improved the custom title and added additional content to the Tips and Help pages.

A new sub-page in the Theme Settings has been added. While this is currently just a blank page, it’s purpose is to provide a home for custom template elements. We’re currently working on a couple of interesting client projects that will require some interesting customisations, which of course will be included in future versions.

Posted in framework | Comments Off on Framework 2.9

Framework 2.8

Framework version 2.8 includes some additional SEO options and improved integration with WooCommerce.

The bullet-points are now using Font Awesome to render and can be colour configured in the Theme Settings section. We’ve also converted the WordPress and Seja Design logos in the footer to SVG images, which also allows for better colour control.

Posted in framework | Comments Off on Framework 2.8

Accordion Pages

The Seja Framework supports accordion pages. These pages are great for displaying a large amount of content where sections can be hidden.

A great example of where this is useful is a Frequently Asked Questions list, where readers only want to see the content that is relevant to them.

Demonstrating the Accordion

This tutorial also demonstrates the working accordion. It is not complicated to do but it is very important that the shortcodes are implemented correctly or your site structure will break.

Usage - The Wrap-around

The accordion requires the use of wrap-around shortcode tags in a minimum of two blocks. For each additional accordion section, an extra shortcode block is required.

It is important that the first and last blocks are marked as such to allow the correct formatting. We’ll demonstrate using this page’s markup as an example.

What is ‘wrap-around’ shortcode?

Most shortcode included in the framework is basic. You include the shortcode call and perhaps a few variables and it displays in the page as required. Other shortcode is a little more complex, requiring the shortcode to wrap around the content that it is displaying. An example of this is as follows

[some_shortcode] The content is included after the shortcode, which is then wrapped using a closing tag (similar to a html closing tag). ##some_shortcode]

It is the content between the tags that is hidden from view until the top section is clicked.

Usage - The Shortcode

At bare-minimum you will need two accordion sections that will need to be marked as ‘first’ and ‘last’. For space and ease of reading, the wrapped content has been removed in all examples

[accordion title="Demonstrating the Accordion" class="first"]  content ##accordion]

[accordion title="Not Working?" class="last"] content  ##accordion]

title: The text that sits in the top section
class: default is ‘block’ however it’s important to use ‘first’ for the first block and ‘last’ for the final block. The back-end code that powers this feature requires these two classes to correctly render the html.

Each additional accordion section that sits between these two tags do not require any additional code, and you can generate as many accordion blocks as you require. The accordion shortcode on this page looks like this

[accordion title=\"Demonstrating the Accordion\" class=\"first\"]  content ##accordion]

[accordion title="Usage - The Wrap-around"] content ##accordion]

[accordion title="Usage - The Shortcode"] content ##accordion]

[accordion title="Understanding the HTML"] content ##accordion]

[accordion title="Not Working?" class="last"] content  ##accordion]

An optional ‘titleclass‘ exists if you require custom formatting. This is added to the <dt> tag.

[accordion title="Demonstrating the Accordion" class="first"]  content ##accordion]

[accordion title="Usage - The Wrap-around"] content ##accordion]

[accordion title="Usage - The Shortcode"] content ##accordion]

[accordion title="Understanding the HTML"] content ##accordion]

[accordion title="Not Working?" class="last" titleclass="example-class"] content ##accordion]
Understanding the HTML

While it it not necessary for you to understand the HTML, we have included the markup for your reference. Based on the shortcode from the previous section the outputted HTML would appear as follows;

<dl class="accordion" id="accordion">
  <dt><span>Demonstrating the Accordion</span></dt>
  <dd class="first">Content</dd>

  <dt><span>Usage - The Wrap-around</span></dt>
  <dd class="block">Content</dd>

  <dt><span>Usage - The Shortcode</span></dt>
  <dd class="block">Content</dd>

  <dt><span>Understanding the HTML</span></dt>
  <dd class="block">Content</dd>

  <dt class="example-class"><span>Not Working?</span></dt>
  <dd class="last">Content</dd>
</dl>

The accordion feature uses jQuery to change the state of the object on the page.

>Not Working?

Make sure you have correctly implemented the shortcode and enabled the accordion in  Seja Template > Theme Settings > Theme Content

accordion-shortcode

Posted in WordPress | Comments Off on Accordion Pages

Framework 2.7

Our base framework is now at version 2.7 and will be used for all sites created after 26 November 2015.

Improvements include –

  • Better organised ‘Formats’ drop-down in editor
  • Font-Awesome for a richer user experience
  • WYSIWYG editors for the Top Content and Sidebar text
  • Visual improvements to the editor

Backend work includes –

  • Improved code structure and separation
  • New bootstrap CSS and individual theme styles
  • Bug fixes
Posted in framework | Comments Off on Framework 2.7