Spencer Finnell – Astoundify https://astoundify.com Websites Like Never Before Tue, 22 Nov 2022 05:55:09 +0000 en-US hourly 1 https://astoundify.com/wp-content/uploads/2017/06/favicon-32x32.png Spencer Finnell – Astoundify https://astoundify.com 32 32 We Just Launched the Add-On Bundle! https://astoundify.com/blog/we-just-launched-the-add-on-bundle/ https://astoundify.com/blog/we-just-launched-the-add-on-bundle/#comments Tue, 20 Feb 2018 14:30:42 +0000 https://astoundify.com/?p=57291 So as promised we just launched the long awaited add-on bundle for our customers and I wanted to let you know about this exciting deal. This is a great deal not just because you are saving 30% on buying the add-ons as a bundle instead of separately, but any time in the future when we […]

The post We Just Launched the Add-On Bundle! appeared first on Astoundify.

]]>
So as promised we just launched the long awaited add-on bundle for our customers and I wanted to let you know about this exciting deal. This is a great deal not just because you are saving 30% on buying the add-ons as a bundle instead of separately, but any time in the future when we add a new add-on to our site it will be included in the bundle and added to your “My Products” account page.

We did a quick video discussing the new add-on bundle and you can watch it below.

Updates, Support & Renewals

When purchasing our new bundle you’ll receive 1 year of product updates this includes new features of each plugin, bug fixes and of course 1 year of support for each add-on, at the end of that first year you can choose to renew for another year and you’ll receive an additional discount of 30%.

Everything You Need to Start Making Money.

Our bundle provides opportunities to start making money on your site, such as charging a fee to claim a listing, charging a fee to access listings statistics, allow your listing owners to sell products/bookings via their listings. You aren’t just buying add-ons with a bunch of features, your purchasing an add-on bundle that will generate you an income stream.

Learn more about the add-on bundle here and check out what’s included (no coupon required).

The post We Just Launched the Add-On Bundle! appeared first on Astoundify.

]]>
https://astoundify.com/blog/we-just-launched-the-add-on-bundle/feed/ 3
Create or Override Widgets in Listify https://astoundify.com/blog/custom-widgets-for-listify/ https://astoundify.com/blog/custom-widgets-for-listify/#respond Fri, 03 Feb 2017 17:30:54 +0000 https://astoundify.com/?p=55309 All Astoundify themes are built around the central ideas that widgets create great building blocks for creating and customizing your website. They can easily be added, removed, rearranged, or configured without having to modify template files. However, there may be instances where a widget does not offer a setting to adjust for what you need, […]

The post Create or Override Widgets in Listify appeared first on Astoundify.

]]>
All Astoundify themes are built around the central ideas that widgets create great building blocks for creating and customizing your website. They can easily be added, removed, rearranged, or configured without having to modify template files.

However, there may be instances where a widget does not offer a setting to adjust for what you need, or you need to make a change to the appearance that cannot be achieved via CSS.

Listify offers multiple ways to further customize a widget or change the output entirely.

Simple HTML Changes

All widget output can be modified using the WordPress Filter API. The entire HTML content of a widget is passed through a filter using the unique widget ID as the tag.

Take for example the “Description” widget. On line 16 the widget is registered with an ID of listify_widget_panel_listing_content. On line 89 this ID is used to name a filter in the WordPress Filter API.

All widgets on the single listing page are wrapped in an aside tag that contains the following CSS class names: widget widget-job_listing. If we want to add another class to the aside tag to provide specific styling for this widget we can use the following code:

Using PHP’s str_replace() function we can replace the existing CSS classes in the wrapper with an additional class appended. This will result in an output of <aside class="widget widget-job_listing my-custom-class"> which you can then style:

Override the Entire Widget

Sometimes more drastic changes are required when modifying a widget. In these cases, the entire widget output must be rewritten. While it is possible to do this using the steps mentioned above a more maintainable solution is to register your own copy of the widget and use that instead.

Let’s take the Call to Action widget for example. Perhaps we need completely custom HTML instead of what is provided. To change this we first need to duplicate the widget file to our child theme. Save class-widget-home-cta.php in your child theme.

Once this is done we must modify the name of the widget class and the ID used to register the widget. You can see this change on line 7 and line 15.

Once the widget has been saved in our child theme it needs to be registered so WordPress knows to allow it to be added to a widget area. In your child theme’s functions.php add:

Here we include the widget file we copied to the child theme, and register it using the new class name assigned. It will now appear in Appearance ▸ Widgets

To edit the output of the widget simply modify the output of the widget() method.

Never Edit Parent Theme Files

Just like you should never edit a WordPress core file, you should also never edit a parent theme file. There are always ways to modify or override what the theme ultimately outputs on the page. By keeping theme files untouched you can more safely update your theme when new versions are released.

The post Create or Override Widgets in Listify appeared first on Astoundify.

]]>
https://astoundify.com/blog/custom-widgets-for-listify/feed/ 0