On July 9, 2020, ClassiPress 4.2.0 was released. This is a major release introducing several new features as well as many other features improvements.
This release introduces 144 code changes in 179 files, 13,093 lines of code added and 2,479 deleted, 35 tickets resolved!
Fixes:
- Fixed Refine Search order by Lowest and Highest price when price inputs are empty.
- Fixed Refine Search order by Distance and Alphabetical.
- Don’t show Report button for the ad owner (except admins).
- Improved styles for Ad Details widget.
- Fixed styling for WordPress Search widget (the Blog search).
- Added WordPress Confirm action handler to the AppThemes Login page. Fixing Issue with WP’s GDPR data export tool.
- SEO: Fixed headers structure.
- SEO: Added screen reader text with item title to “View Ad” and “Read More” links to resolve issue with trivial duplicating anchor texts.
- SEO: Add screenreader text for ads and posts thumbnails. Fixed issue “No link anchor text”.
- SEO: Better Listing price format in structured data.
- SEO: Introduced function cp_get_avatar(), which adds alt tags to the avatar image.
- Fixed issue with incorrect taxonomy RSS links.
- Display advertisement block in the center of the header.
Changes:
Global:
- Added global font size option.
- Added Global Font and Headers font settings to the Customizer
- Added Global text color option in the Customizer.
- Implemented Expired listing status.
- Introduced Tiled Sidebar. Allows to add widgets with different widths.
- Introduced Tabbed Sidebar feature. It allows turning regular sidebar into a tabbed interface, where a single tab is a sidebar widget.
Header:
- Added Sticky Header feature with Customizable sticking parts and the separated colors.
- Added theme support for Custom Image and Video Headers.
- Front Page hero cover moved from the page template to the header-tpl-ads-home.php template.
- Added Customizer Option Header Alignment.
- Added Customizer Option Header Height.
- Added filter ‘cp_single_term_title’.
- Registered a new widgetized area on the Header. Ad Block 468×60 added as the default widget.
- Added Customizer options ‘Display Hero Cover’ and ‘Display Searchbar’ on the Front Page layout panel.
- Added Header Bottom Bar color options.
- Added Header Top Bar color options.
- Allow setting transparency in the Header Background color picker. Added Header Middle Bar Text Color picker. Added Header Middle Bar Menu Links Color picker.
- Added Top bar under the existing Header. Registered new menus “first_left” and “first_right”.
- User Account menu and Login/Register buttons added as regular menu items, now it can be moved on another menu and configured on the menus panel.
- Added Customizer setting to change header width (expand/collapse).
- Significantly improved search box auto suggest. By default, it uses Ad Tags for word autocomplete, but now it can be changed via filter ‘cp_suggest_taxonomies’.
Footer:
- Added Footer Text Color option in the Customizer.
- Converted Footer into the Tiled Sidebar.
Front page:
- Implemented Masonry JS lib for Listing categories lists, fixed the category gaps in directory layout.
- ‘ClassiPress Ad Categories’ widget, “[classipress_listing_categories]” shortcode, Categories page and Categories menu now can display custom backgrounds and icons:
- Added options to the Categories section to enable custom backgrounds and icons;
- Added appropriate options to the “[classipress_listing_categories]” shortcode to enable custom backgrounds and icons and other options;
- Added appropriate options to the ‘ClassiPress Ad Categories’ widget.
- Added tiled sidebars into the Front page template.
- Added Callout widget for building awesome landing pages.
- Added Layout type option to the Latest Listings widget. Added Number of columns in a grid option to the Latest Listings and Blog posts widgets.
- Added optional button on the Featured slider to display all featured ads.
- Added new options to Featured slider.
Blog page:
- Added sidebar on the Blog archive page, added sidebar position Customizer option.
- Added widget “Sidebar Recent Ads”.
Static pages:
- Added static page Sidebar Position option.
- Full Width template now 12 columns width, instead of 10.
- Added Kitchen Sink template so admin can see the theme elements styling.
Search page:
- Display the subcategory dropdown on the refine search form.
Single Ad page:
- Improved style for Ad Details widget. Display location fields on the widget.
- Added Tiled widget area to the Single Listing content area. This will allow adding content widgets side by side. For example, image gallery on the left and listing fields on the right.
- Added Tabbed widgets on the sidebar and content areas.
- Added widget “ClassiPress – Single Listing Image Slider”.
- Added Customizer option “Full Width Banner” to switch banner width between full page width and content width.
- Listing/post actions bar moved to a separated template part. Actions bar displayed in a listing content footer if the listing banner disabled.
- Added Customizer option to disable the Single Ad Hero banner. The title and price automatically moves to the content area.
- Added Customizer options for Listing Thumbnail Placeholder.
- Added Minimum Image Dimensions options for Ad listing Images.
- Turned “Set as a Banner Image” and “Set as a Thumbnail Image” radio buttons into colored buttons. Allow to uncheck the image.
- Enabled Ad images reordering.
Author’s page:
- Added the Author’s page sidebar and the Customizer controls for it.
- Added widget Author Featured Listings.
- Added Tabbed Sidebar on the Author’s page.
- Added widgets “Author Listings” and “Author Posts” to display in the tabbed sidebar on author’s page.
- Turned Author’s page content into a widgetized area. Added author bio as a widget.
Dashboard:
- Added thumbnails to the dashboard listings.
- Added search and filters section into the Dashboard.
- Allow to sort columns in the User listings dashboard.
- Added dashboard listing actions into the expandable areas, reorganized columns, colored statuses.
Other:
- Allow to select a taxonomy in the ‘Sub-Categories’ widget settings.
- Enable Bulk Actions for Orders.
- The settings fields (where HTML is allowed) now use the WP Editor.
- Allow to override default map icon using icon URL. Minor string adjustment.
- Added option to disable Open Graph support.
- Improved a calculating of the color scheme.
- Added “id” “classes” and “taxonomy” parameters to the “classipress_listing_categories” shortcode.
- Added generic template taxonomy.php in replacement to taxonomy-ad_cat.php and taxonomy-ad_tag.php. Now the generic teplate can be used for all custom taxonomies.
- Added option to set a specific Custom Form as default for all categories.
- Load search bar on the template file instead the wrapper file.
Deprecated Functions
cp_author_profile_listings()
cp_header_menu_primary_top_items_user()
Deprecated Hooks
cp_header_menu_primary_top_items_login
cp_header_menu_primary_top_user
cp_header_menu_primary_top_items_user
Files Modified
Modified 404.php Modified archive-ad_listing.php Modified archive.php Modified assets/css/editor-style.css Modified assets/css/editor-style.min.css Modified assets/css/style.css Modified assets/css/style.min.css Modified assets/css/style-rtl.css Modified assets/css/style-rtl.min.css Modified assets/js/customize-preview.js Modified assets/js/customize-preview.min.js Modified assets/js/src/customize-preview.js Modified assets/js/src/google-maps.js Modified assets/js/src/init-foundation.js Modified assets/js/src/theme-admin.js Modified assets/js/src/theme.js Modified assets/js/theme-admin-scripts.js Modified assets/js/theme-admin-scripts.min.js Modified assets/js/theme-scripts.js Modified assets/js/theme-scripts.min.js Modified assets/scss/mixins/_theme.scss Modified assets/scss/modules/_animations.scss Modified assets/scss/partials/admin/_editor.scss Modified assets/scss/partials/_base.scss Modified assets/scss/partials/_footer.scss Modified assets/scss/partials/_forms.scss Modified assets/scss/partials/_header.scss Modified assets/scss/partials/_helpers.scss Modified assets/scss/partials/_icons.scss Modified assets/scss/partials/_menus.scss Modified assets/scss/partials/_page-archive.scss Modified assets/scss/partials/_page-dashboard.scss Modified assets/scss/partials/_page-home.scss Modified assets/scss/partials/_page-listing.scss Modified assets/scss/partials/_page-post.scss Modified assets/scss/partials/_plugins.scss Modified assets/scss/partials/_tables.scss Added assets/scss/partials/_tabs.scss Modified assets/scss/partials/_typography.scss Modified assets/scss/partials/_widgets.scss Modified assets/scss/style.scss Modified assets/scss/vendor/foundation/_custom.scss Modified author.php Modified changed_files.txt Modified changelog.txt Modified dashboard-ads.php Modified featured.php Modified footer.php Modified framework Modified framework/kernel/functions.php Modified framework/kernel/view-types.php Modified framework/load.php Modified framework/media-manager/media-manager.php Modified framework/media-manager/scripts/media-manager.js Modified framework/scb Modified functions.php Modified .gitignore Modified grunt/wp-i18n.js Modified header.php Added header-tpl-ads-home.php Modified home.php Modified includes/actions.php Added includes/admin/categories-list.php Modified includes/admin/class-ad-listing-category-meta-box.php Modified includes/admin/enqueue.php Modified includes/admin/install.php Modified includes/admin/listing-single.php Modified includes/admin/options.php Modified includes/admin/settings.php Modified includes/admin/updates.php Modified includes/admin/values.php Modified includes/appthemes-functions.php Modified includes/categories.php Modified includes/class-shortcodes.php Added includes/class-tabbed-sidebar.php Added includes/class-tiled-sidebar.php Added includes/class-walker-refine-categories-checklist.php Modified includes/comments.php Modified includes/core.php Modified includes/cron.php Modified includes/custom-forms.php Modified includes/customizer/class-customizer.php Modified includes/customizer/class-phpcolors.php Modified includes/customizer/sections/colors.php Added includes/customizer/sections/content-author.php Added includes/customizer/sections/content-blog-archive.php Modified includes/customizer/sections/content-blog.php Added includes/customizer/sections/content-head.php Modified includes/customizer/sections/content-home.php Modified includes/customizer/sections/content-listing-archive.php Modified includes/customizer/sections/content-listing.php Added includes/customizer/sections/content-page.php Modified includes/customizer/sections/content-user.php Added includes/customizer/sections/fonts.php Added includes/customizer/sections/footer.php Added includes/customizer/sections/header-media.php Modified includes/customizer/sections/site-identity.php Modified includes/customizer/styles/colors.php Added includes/customizer/styles/fonts.php Added includes/customizer/styles/header-media.php Added includes/customizer/styles/layout.php Modified includes/deprecated.php Modified includes/emails.php Modified includes/enqueue.php Modified includes/functions.php Modified includes/geo Modified includes/geo/admin/settings.php Modified includes/geo/geocoders/geocoder-functions.php Modified includes/geo/map-providers/appthemes-maps.js Modified includes/images.php Modified includes/integrations/critic/class-critic.php Modified includes/menus.php Modified includes/options.php Modified includes/payments Modified includes/payments/admin/order-list.php Modified includes/plupload/app-plupload.js Modified includes/plupload/app-plupload.php Modified includes/search.php Modified includes/stats.php Modified includes/structured-data Modified includes/structured-data/class-autoload.php Modified includes/structured-data/class-structured-data.php Modified includes/structured-data/types/class-schema-type-blogposting-post.php Added includes/structured-data/types/class-schema-type-jobposting.php Added includes/structured-data/types/class-schema-type-jobposting-post.php Modified includes/theme-structured-data/class-schema-type-offer-ad.php Modified includes/theme-structured-data/class-schema-type-offer-product.php Modified includes/theme-structured-data/class-schema-type-product-ad.php Modified includes/theme-support.php Added includes/theme-widgets/class-widget-468-ads.php Modified includes/theme-widgets/class-widget-ad-categories.php Modified includes/theme-widgets/class-widget-ad-sub-categories.php Added includes/theme-widgets/class-widget-author-bio.php Added includes/theme-widgets/class-widget-author-featured-slider.php Added includes/theme-widgets/class-widget-author-listings.php Added includes/theme-widgets/class-widget-author-posts.php Added includes/theme-widgets/class-widget-callout-box.php Modified includes/theme-widgets/class-widget-listing-author.php Modified includes/theme-widgets/class-widget-listing-featured-slider.php Added includes/theme-widgets/class-widget-listing-image-slider.php Modified includes/theme-widgets/class-widget-listing-latest.php Modified includes/theme-widgets/class-widget-listing-reveal-gallery.php Modified includes/theme-widgets/class-widget-post-latest.php Added includes/theme-widgets/class-widget-recent-ads.php Modified includes/views-checkout.php Modified includes/views/class-ads-search.php Modified includes/views.php Modified languages/classipress.pot Modified package.json Modified package-lock.json Modified page.php Modified parts/adblock-header.php Added parts/content-action-bar-ad_listing.php Added parts/content-action-bar.php Modified parts/content-ad_listing.php Modified parts/content-author-ad_listing.php Modified parts/content-bio.php Modified parts/content-cover-ad_listing.php Modified parts/content-cover.php Modified parts/content-edit-profile.php Modified parts/content-item-ad_listing.php Added parts/content-item-featured.php Modified parts/content-item.php Modified parts/content-search.php Added parts/content-title-ad_listing.php Added parts/dashboard-ads-filters.php Modified parts/form-field-image-input-attach.php Modified parts/form-field-image-input-content.php Added parts/header-media.php Added parts/header-taxonomy.php Modified parts/nav-mobile-menu.php Added parts/nav-top-bar-first.php Modified parts/nav-top-bar-primary.php Modified parts/nav-top-bar-secondary.php Added parts/tabs.php Added parts/tiles.php Added parts/tiles-sidebar_listing_tiled_content.php Modified parts/widget-account-info.php Added parts/widget-author-bio.php Added parts/widget-callout-box.php Modified parts/widget-latest-ad_listing.php Modified parts/widget-latest-post.php Modified parts/widget-listing-author.php Added parts/widget-listing-image-slider.php Modified parts/widget-listing-reveal-gallery.php Added parts/widget-sidebar-ads.php Modified parts/widget-sidebar-blog-posts.php Modified searchbar.php Added searchform.php Modified search.php Modified sidebar-ad.php Modified single-ad_listing.php Modified style.css Deleted taxonomy-ad_cat.php Removed taxonomy-ad_tag.php taxonomy.php Modified tests/lib Modified tests/lib/bootstrap.php Modified theme-framework Modified theme-framework/includes/views-login.php Modified theme-framework/includes/wrapping.php Modified theme-framework/kernel/breadcrumb-trail.php Added theme-framework/kernel/class-autoload.php Modified theme-framework/kernel/functions.php Modified theme-framework/kernel/view-edit-profile.php Added theme-framework/lib/customizer-custom-controls/css/customizer.css Added theme-framework/lib/customizer-custom-controls/examples/customizer.php Added theme-framework/lib/customizer-custom-controls/examples/customizer-preview.js Added theme-framework/lib/customizer-custom-controls/examples/functions.php Added theme-framework/lib/customizer-custom-controls/examples/style.css Added theme-framework/lib/customizer-custom-controls/images/allcaps.png Added theme-framework/lib/customizer-custom-controls/images/bold.png Added theme-framework/lib/customizer-custom-controls/images/color-picker-transparency-grid.png Added theme-framework/lib/customizer-custom-controls/images/italic.png Added theme-framework/lib/customizer-custom-controls/images/sidebar-left.png Added theme-framework/lib/customizer-custom-controls/images/sidebar-none.png Added theme-framework/lib/customizer-custom-controls/images/sidebar-right.png Added theme-framework/lib/customizer-custom-controls/images/underline.png Added theme-framework/lib/customizer-custom-controls/inc/custom-controls.php Added theme-framework/lib/customizer-custom-controls/inc/google-fonts-alphabetical.json Added theme-framework/lib/customizer-custom-controls/inc/google-fonts-popularity.json Added theme-framework/lib/customizer-custom-controls/inc/sanitizers.php Added theme-framework/lib/customizer-custom-controls/js/customizer.js Added theme-framework/lib/customizer-custom-controls/load.php Added theme-framework/lib/customizer-custom-controls/readme.md Modified theme-framework/load.php Modified tpl-ads-home.php Modified tpl-full-width.php Added tpl-kitchen-sink.php Modified woocommerce/content-product.php Modified wrapper.php |