Code Monkey home page Code Monkey logo

cherryframework's Introduction

Cherry Framework

The most delicious WordPress framework

Fully responsive design, easy install, steady updates, great number of shortcodes and widgets, integration of Bootstrap functions. All brought to you by Cherry Framework for straightforward experience in website design. View all features

Official Cherry Framework website

Change log

v3.1.5

Framework Updates

  • ADD: Live Chat in a dashboard
  • ADD: Cookie banner options
  • ADD: Filters in the post content
  • FIX: Security bug
  • FIX: Bug with duplication images in a slider lightbox
  • FIX: Check for WMPL-plugin extension
  • FIX: Bug with a social networks custom fields in a Our Team posts after the import sample data
  • FIX: Bug with thumbs in slider
  • FIX: Query variable in a FAQ and Testimonials pages
  • FIX: JS-error on Portfolio page
  • FIX: Stick menu script
  • UPD: cherry plugin to version 1.2.6
  • UPD: motopress-content-editor plugin to version 1.5.8
  • UPD: Localization files
  • UPD: Conditional comments for older IE (if lt IE 9)
  • UPD: Class description_walker
  • UPD: Replace using function for trims text
  • DEL: Init for owl-carousel script
  • DEL: # - symbol from comments

v3.1.4

Framework Updates

  • UPD: cherry plugin to version 1.2.2
  • UPD: Updated motopress-content-editor
  • UPD: screenshot.psd
  • ADD: Added default value for sl_pause_on_hover option
  • UPD: Removed deprecated in wordpress constants
  • UPD: Wrapped text in GetText call
  • ADD: fadeout effect for invalid tip to contact form field
  • UPD: Removed zip-archive with contact-form-7 plugin, because now it is installed from wordpress.org repository
  • UPD: Updated TGM-Plugin-Activation class
  • upd: stickUp.js
  • upd:css isStuck class
  • FIX: stickUp plugin
  • ADD: Added a misc style
  • UPD: Updated cherry-plugin
  • ADD: Added email custom field to the Team and Testimonail metabox
  • FIX: Fixed lightbox in portfolio slideshow
  • UPD: Updated cherry-plugin
  • ADD: Added unique prefix to the functions
  • ADD: Added style for
    tag inner .row
  • UPD: Set dashicons for custom post type
  • FIX: Fixed enqueue script for Gallery-format post
  • FIX: Fixed localization for stickup_menu option
  • ADD: Added default value for stickup_menu. Set when option are desable.
  • ADD: new option Gallery-format post portfolio layout
  • FIX: #16
  • FIX: #11
  • ADD: new option Gallery-format post portfolio layout
  • ADD: pause on slider hover option
  • ADD: filter to stickmenu selector
  • UPD: post_meta_display option
  • UPD: change default slider effect
  • ADD: option meta display, UPD: blog page
  • UPD: Updated cherry-plugin
  • UPD: blog page? singlepost page
  • UDP: check device for stickUp menu
  • URD: Updated cherry-plugin
  • UPD: jQuery('#wpadminbar')
  • FIX: hotfix add add_filter( 'the_excerpt', 'do_shortcode' );
  • FIX: fix bug documentation
  • ADD: filter to stickmenu selector
  • UPD: Updated cherry-plugin
  • UDP: check device for stickUp menu
  • UPD: Updated cherry-plugin
  • UPD: Updated cherry-plugin
  • UPD: jQuery('#wpadminbar')
  • FIX: hotfix add add_filter( 'the_excerpt', 'do_shortcode' );
  • UPD: modified readme
  • FIX: Fixed after branch's merge

Plugin Updates (v1.2.2)

FIX: conflicts flexslider.css UPD: carousel.php ADD: Added style for under-construction page in mobile devices UPD: recent post shortcode(video post type) upd: my-social-widget widgets FIX: Fixed quotes ADD: Added clearfix class to the li item in recent_posts shortcode ADD: Added to the all shortcodes filters html-formatted data before return ADD: Added outputing value for email custom field in Team and Testimonails post type ADD: Added some style to the flex-slider Fix: Fixed #17 Fix: Fixed display parametr in button shortcode UPD: ul counter for post grid shotcode FIX: #13 FIX: #10 UPD: recent testimonials shotcode ADD: category filter to mini post shotcode UPD: postcycle widget UPD: flex slider css UPD: Updated flexslider to version 2.2.2 UPD: css .comments-custom Fix: hotfix: removed post-cycle's loader Fix: hotfix: Fixed rtl-support in post_cycle shortcode Fix: hotfix: removed post-cycle's loader Fix: hotfix: Fixed rlt-support in post_cycle shortcode

v3.1.3

Framework Updates

  • Add: Added rtl-language support
  • Upd: Updated audio/video library - jplayer
  • Add: Added new options: order & orderby for slider posts
  • Add: Added new options: order & orderby for portfolio posts and filter
  • ADD: device.js
  • Upd: replaced tmstickup.js
  • Add: Added MotoPress Content Editor plugin as the following recommended plugin
  • ADD: stickup option
  • Fix: Fixed API_URL constant

Plugin Updates

  • Add: Added rtl-language support
  • Upd: Improved Cherry Recent Comments widget - get comment for posts, pages, attachments and porfolio custom post type
  • Add: Added compatibility audio shortcode with MotoPress plugin
  • UPD: get_the_date()
  • ADD: content_box shortcode
  • ADD: tag option to posts grid shortcode
  • ADD: tag option to posts-list shortcode
  • ADD: tag option to recent posts shortcode
  • UPD: Cherry recent posts (the_date(); -> the_time('F j, Y');)
  • UPD: widget banner
  • ADD: item counter class
  • Add: added custom-class option to row, span, shortcodes
  • Fix: Fixed outputing notice
  • Fix: Fixed outputing notice
  • Add: Added define API_URL constant

v3.1.2

Framework Updates

  • Fix: hotfix issue
  • Upd: change upload images logic in framework options
  • Fix: fixed issue with French translation in plugin
  • Fix: fixed twitter share button
  • Fix: Fixed bug with portfolio gallery in IE
  • Upd: Improved wpml-plugin compatibility for Cherry Options

Plugin Updates

  • Fix: Compatibility with WP 3.9: fix shortcode dialog
  • Upd: Exclude widgets manager on customize.php
  • Upd: Improved wpml-plugin compatibility for widgets
  • Fixed issue with french translation
  • Compatibility with old themes
  • fix instagram and banner widgets

v3.1.1

Plugin Updates

  • Fix: import errors
  • Add: blocking files on upload
  • Fix: sorting errors
  • Add: widgets rewrite
  • Add: widgets custom classes
  • Fix: shortcode Elastislide
  • Add: styleswitcher
  • Add: plugin-under-construction-content rewrite in child theme
  • Add: plugin updater
  • Add: intagram widget
  • Upd: social widget
  • Fix: fixes in social network widget
  • Add: banner widget
  • Upd: improvements in wpml-compatibility

Framework Updates

  • Fix: layout style
  • Fix: changed links format
  • Fix: robot.txt generate login
  • Fix: sitemap
  • Fix: slider posts sorting
  • Fix: style switcher
  • Add: add migrate.js
  • Upd: language files
  • Fix: pagination output* Upd: tags filter

v3.1.0

  • Added function for auto-setup cherry-plugin
  • Moved the help tips from child theme in the framework
  • Change help text and update cherry plugin zip
  • Added auto-replace current Cherry Plugin on new version
  • removed wp_enqueue_script for ElastiSlide
  • add including via func. wp_enqueue_style file main-style.css from child-theme
  • remove cleaning up plugin directory after switch cherry themes
  • remove old logic for import/export
  • add new options 'single portfolio layout'
  • added processing multibyte string (support cyrillic)
  • Cut style for carousel shortcodes and remove some files (css/js/images)
  • add comments ID attribute
  • fixed filter on portfolio pages

v3.0.1

  • Fix portfolio loop
  • change stylesheet and screenshot
  • cherry framework compatibility wordpress 3.8
  • fix pagination on portfolio and testimonial page
  • fix Isotope gallery in IE10
  • hotfix: add in shortcodes function restoring global var $post
  • fix: output comment count in widget Cherry Recent Comment considering PHP >= v.5.4
  • fix: output comment count for posts considering PHP >= v.5.4
  • fix shortcode icon
  • fix header

v3.0

  • Add plugin
  • fix header-styling and main-layout options
  • Data management interface fixed
  • hotfix: breadcrumbs divider color
  • Add filter for slider
  • Deleted shortcodes and widgets in framework

v2.4

  • hotfix page-home.php
  • hotfix file update.php
  • add filter to the static-nav holder
  • change value for API_URL
  • new feature: change layout class via filter
  • up contact-form-7 plugin
  • fix: function for get theme version
  • fix for iPad3 (iOS7)
  • improve: theme customizer
  • speed up for localization
  • change function for output posts date
  • up Customizer and Localization spped
  • fix audio format post
  • Add new shortcode - Carousel OWL, The blog has two new layouts - Full width and Masonry
  • hotfix: change value for DETAILS_URL
  • hotfix: inc max font-size/line-height for heading options
  • fix placeholder color in FF
  • improve: replace option "header color" on "header background"
  • fix styles for layout option
  • remove 'http:' in request URL to the GoogleWebFonts
  • add check for output tagline
  • improve breadcrumbs - set divider through :after pseudo element
  • improve the text version of the slider
  • add new option for Fixed/Fullwidth layout
  • correct style for thumbnail hover state on Portfolio pages

v2.3.1

  • small fix custom fields (select) for blog's posts
  • fix conflicts between 'up-localization' and 'develop'
  • update raundabout shortcode
  • Accordion load fix
  • fix slider
  • add registering isotope script on home and front pages
  • fix widgets import when .json file is empty
  • add share buttons options, add related posts on single-portfolio page
  • add new loader images
  • add option Display share button in single post
  • add images for prev commit
  • change all loaders
  • Hot fix options in my comment widget.
  • fix author's avatar in recent comment widget
  • Change vimeo protocol HTTP/1.0 on HTTP/1.1
  • Update languages file, fix less style, fix style for pages 404, FAQ, Add option read more buttons
  • add check for existing file

v2.3

  • small fix for slider (orderby = title)
  • chenge date format, chenge $ on jQuery in JavaScript
  • small fix for lightbox in portfolio page
  • fix active class in custom menu widget for portfolio pages
  • Fix support wordpress 3.2 +
  • remove attributes from self-closing shortcodes
  • in title_shortcode replace tag on
  • correct Cherry Option panel's style
  • add check for superfish init when fields in wp_options are empty
  • fix widget visibility
  • fix lightbox option in portfolio pages
  • Add new languages
  • Add social networks
  • add localization for some phrase in install process
  • replace % in 2/3/4 columns shortcodes name in visual editor
  • fix iframe for facebook like button
  • add enable/disable lightbox option in portfolio pages
  • add hook 'check_shop_activation'
  • add exclude Privacy Policy page in wp_list_pages function for main nav
  • fix update_option for page_for_posts
  • up CF7 for v.3.5.2
  • fix getting URL to the media file in audio/video portfolio post format
  • fix some bugs and improved usability in installing process
  • correct some styles guided by Theme Unit Test
  • update aqua resizer
  • fix bug with selector '>' in Custom CSS option
  • Change get_the_time('F j, Y') on get_the_date()
  • add generate robot.txt, fix video preview shortcode, fix include fond
  • Hot fix shortcode video preview
  • add include_once media.php
  • Merge branch 'fix-usb' into develop
  • fix image size in team pages
  • output content in FAQ pages
  • update cf7-plugin
  • add check before including lessphp library
  • change button's text in Import Widget Page (show widget settings => next)
  • change button's text in help pointer (dismiss => close)
  • Added sitemap.xml generatior
  • fix output notice for update cherry (from behaart)
  • improved getting path to banner's image
  • Added new shortcode sitemap
  • fix output thumbnail for image post format

v2.2.1

  • add prefix 'cherry' for function name: getPostView, setPostViews, getPostVoting
  • fix bug with widget settings import in WP > 3.4

v2.2

  • change including prettyphoto's script ans style
  • change font-awesome's version
  • remove wd. Permalink from attr in post format title
  • sort portfolio filter & fix breadcrumbs for attachments
  • WP 3.6 compatibility
  • add function get_post_metadata()
  • add full wpml-compatibility
  • logo image changed
  • add nav holder in static-nav.php when pages output via wp_list_pages()

cherryframework's People

Contributors

alexey-svistunov avatar ariadnaa avatar bryant1410 avatar cheh avatar lordimac avatar makhonkodenis avatar mjhead avatar shintm avatar templatemonster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cherryframework's Issues

.DS_Store file causes issues with Cherry local development

I couldn't find an answer to this. It looks like the function to scan the statics directory for file will also pick up the .DS_Store file on a Mac and output some strange code in the header as a result. I don't want to kill .DS_Store creation and I have already hidden these files from github it's not an issue on production but it's driving me mad on local. Any ideas on a filter to stop the inclusion of this file in the directory scan?

prepare_request function missing

In CherryFramework/admin/data_management/update.php
the function prepare_request is called for in line 85 but is missing

It should have the following or equivalent:

function prepare_request($action, $args = array()) { global $wp_version; return array( 'woo_sl_action' => $action, 'version' => SL_VERSION, 'product_unique_id' => SL_PRODUCT_ID, 'licence_key' => $license_key, 'sl_instance' => SL_INSTANCE, 'wp-version' => $wp_version, ); }

Loads the wrong version of jQuery

Right now, you are removing WordPress core's jQuery and loading an older version instead. Plugin developers like myself rely on the version of jQuery that WordPress ships with. For example, my plugin Caldera Forms does not work with the Cherry Framework beacuse we chose a dependencies that requires later versions of jQuery, than you use, but works with WordPress' jQuery.

I end of providing support for your theme a few times a month beacuse of this.

Simply removing these lines would fix this problem:
https://github.com/CherryFramework/CherryFramework/blob/master/includes/theme-scripts.php#L8-L12

See:

functions.php in child theme breaks WordPress

I'm trying to add custom code in to a theme purchased on TemplateMonster and when I upload my functions.php file into the child theme, it breaks WordPress and nothing loads.

Is this normal on this Framework? Seems like a big error/screw up to me.

Here is the code I'm adding to my functions.php on my child theme purchased from TemplateMonster.

<?php
if ( ! function_exists( 'q360_add_new_roles' ) ) {

    add_action( 'init', 'q360_add_new_roles' );

     function q360_add_new_roles() {
        add_role( 'company_owner', 'Company Owner',
            array( 'read'                       => true, 
                    'delete_posts'              => false,
                    'edit_posts',               => true,
                    'delete_published_posts'    => false,
                    'publish_posts'             => true,
                    'upload_files'              => true,
                    'edit_published_posts'      => true
            )
        );  
    }

}

very big performance issue with this theme framework on IIS and PHP 5.4 - SOLVED!

I just wanted to let you know that I had a very big performance issue with this template, it took me a while to narrow down the reason for it and I thought I will let you know about it to solve it for future updates.. (well and also improve the performance for every one else..)

I'm not sure if all PHP versions are effected..php 5.4 is though.

The modification is easy, the problem is that the very big locale array is initialized on every function call of them_locals() which is heavily used by our theme46551.

So what I did was modifying the wp-content/themes/CherryFramework/includes/locals.php file.. moved the Array $locals in a new function called theme_local_init(). I registered the variable in the global scope, like I did with a flag variable to check if this array is already initialized.

function theme_local_init()
{
    global $isThemeLocalInit, $locals_CherryFramework;
    if($isThemeLocalInit) return true;

    $domain = CURRENT_THEME;
    //... array initialization...
    $isThemeLocalInit = true;
}

function theme_locals($label) {
    global $locals_CherryFramework;
    theme_local_init();
    return $locals_CherryFramework[$label];
};

the speed up is incredible..memory footprint is much better, performance is about 4-5x faster.

regards,
Simon

another performance issue - regenerate_catalog_images

Sometimes the template tries to perfom the regenerate_catalog_images() function.

add_action('generate_rewrite_rules', 'regenerate_catalog_images', 70);

Even though I haven't changed any rewrite rules.. it perform it from time to time.. However, this is not the real problem. The problem is that this function takes hours..years..or..I don't know, way too long though! (We have more than 1.000 product images in our store)

wp-content/themes/theme46551/includes/options-management.php -> I commented the above mentioned line in this file to get the store running again. Not sure If i really need this catalog_image function? I could perform this function from time to time by cron?

regards

Uncaught Error: Call to a member function reset_structure()

Hello,

The plugin is presenting a flaw that is preventing the opening and editing of widgets in Wordpress, below are details of the error, if you can help me I would be very grateful.

Worpress 5.8 - Cherry Sidebars (version1.1.3) PHP version 7.3.29

Error Details:

Um erro do tipo E_ERROR foi causado na linha 404 do arquivo /home2/parten98/public_html/wp-content/plugins/cherry-sidebars/cherry-framework/modules/cherry-widget-factory/inc/class-cherry-abstract-widget.php. Mensagem de erro: Uncaught Error: Call to a member function reset_structure() on null in /home2/parten98/public_html/wp-content/plugins/cherry-sidebars/cherry-framework/modules/cherry-widget-factory/inc/class-cherry-abstract-widget.php:404
Stack trace:
#0 /home2/parten98/public_html/wp-includes/class-wp-widget.php(534): Cherry_Abstract_Widget->form(Array)
#1 /home2/parten98/public_html/wp-includes/widgets.php(2004): WP_Widget->form_callback(Array)
#2 /home2/parten98/public_html/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(634): wp_render_widget_control('teddyacademy_wi...')
#3 /home2/parten98/public_html/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(122): WP_REST_Widgets_Controller->prepare_item_for_response(Array, Object(WP_REST_Request))
#4 /home2/parten98/public_html/wp-includes/rest-api/class-wp-rest-server.php(1140): WP_REST_Widgets_Controller->get_items(Object(WP_REST_Request))
#5 /home2/parten98/public_html/wp-includes/rest-api/class-wp-rest-server.php(987): WP_REST_Server->r

onclick set Focus

How we can call setFocusToTextBox() javascript function if we click on a button?

[spacer][button text="Call SetFocusToTextbox Button" link="#" style="default" size="normal" target="_self" display="inline" icon="no"][spacer]

please help where i can call setFocusToTextBox() function.

Thank you

PHP 7.0 compatibility

Here is what we get when running the framework 3.1.5 on php 7.0:

"mod_fcgid: stderr: PHP Fatal error: 'continue' not in the 'loop' or 'switch' context in /wp-content/plugins/cherry-plugin/includes/widgets/widgets-manager.php on line 564"

The line in question is:
// if widget doesn't exists - skip this iteration
if ( !isset($wp_registered_widgets[$id]) ) continue;

Fatal error: my-social-widget.php on line 6

Hello,
I have a wordpress website that run in php 7.2, after update and migrating to new server I got this error:

Fatal error: Call to undefined function theme_locals() in /home/mobisfwb/public_html/wp-content/themes/theme48830/includes/widgets/my-social-widget.php on line 6

Is related this error to CherryFramework plugin?

Mysterious .zip file reverts to default child theme files

Hi.

We've identified a very annoying bug. We'll wake up on Monday morning to find that all our hard work customizing a theme has reverted to the old site files that came with the theme originally. Typically the client discovers this and calls us in a rage, and then we scramble to put it right again.

We're not sure what's triggering it, but all our old child theme files (everything in the child-theme folder) are deleted and new ones from the demo version of the theme (purchased from template monster) are in their place.

The only place that old content existed before it wiped out our site was in a mysterious folder called .zip located in the theme_backup folder.

We don't know how the .zip file gets created or what triggers it to wipe out all our hard work and replace all our work with its contents. So far as we can tell, deleting the .zip file does prevent this problem from occurring.

posts_grid shortcode new feature - lightbox enable/disable

In various parts of the gallery and/or portfolio code, the user has the option (via admin Cherry Options) to enable/disable the lightbox feature. But, the posts_grid shortcode which is similar does not have this option.

The following patch adds the lightbox parameter to the posts_grid shortcode.

--- posts-grid.php.orig 2014-06-08 14:02:04.471816040 +0300
+++ posts-grid.php  2014-06-08 14:02:10.180816033 +0300
@@ -21,7 +21,8 @@
            'excerpt_count'   => '15',
            'link'            => 'yes',
            'link_text'       => __('Read more', CHERRY_PLUGIN_DOMAIN),
-           'custom_class'    => ''
+           'custom_class'    => '',
+           'lightbox'    => 'yes'
        ), $atts));

        $spans = $columns;
@@ -82,6 +83,16 @@
                break;
        }

+       // enable lightbox
+       switch ($lightbox) {
+           case 'yes':
+               $lightbox = true;
+               break;
+           case 'no':
+               $lightbox = false;
+               break;
+       }
+
            global $post;
            global $my_string_limit_words;

@@ -147,7 +158,7 @@


                $output .= '<li class="'. $spans .' list-item-'.$count.'">';
-                   if(has_post_thumbnail($post_id) && $mediaType == 'Image') {
+                   if($lightbox===true && has_post_thumbnail($post_id) && $mediaType == 'Image') {

                        $prettyType = 'prettyPhoto-'.$rand;

@@ -155,7 +166,7 @@
                        $output .= '<a href="'.$url.'" title="'.get_the_title($post_id).'" rel="' .$prettyType.'">';
                        $output .= '<img  src="'.$image.'" alt="'.get_the_title($post_id).'" />';
                        $output .= '<span class="zoom-icon"></span></a></figure>';
-                   } elseif ($mediaType != 'Video' && $mediaType != 'Audio') {
+                   } elseif ($lightbox===true && $mediaType != 'Video' && $mediaType != 'Audio') {

                        $thumbid = 0;
                        $thumbid = get_post_thumbnail_id($post_id);

v2.4 layout issue

in the file /page-home.php you use the apply_filters for the layout class param now..
first there is a spelling mistake, second you forgot an "echo"

change line 12 to: (change layot to "layout" and add a echo)
<div class="<?php echo apply_filters( 'cherry_home_layout', 'span12' ); ?>" data-motopress-wrapper-file="page-home.php" data-motopress-wrapper-type="content">

RE: SEO plugins

Could you please suggest plugins compatible to do SEO for themes developed using cherry framework.

I tried Yoast SEO plugin and it is not compatible the theme i purchased.

Thanks in advance

Post Grid Portfolio

Please Cherry Framework Post-Grid doesn't select posts according to TAG.
If i pick all or a particular TAG to post, it just posts nothing...while for categorys is allright...

[bug] invalid HTML markup generated

When I try something like the following HTML. The generated result is always invalid.

[title_box title="MY TITLE" custom_class="about-title"]
[row]
[span4]<img src="myimage.jpg" width="370" height="600" />[/span4]
[span8]paragraph1 blah blah blah

paragraph2 blah blah blah

paragraph3 blah blah blah[/span8]
[/row]

The generated HTML is:

<div class="title-box clearfix about-title"><h2 class="title-box_primary"><span>MY TITLE</span></h2></div><!-- //.title-box -->
<div class="row ">
<div class="span4 "><img alt="" src="myimage.jpg" width="370" height="600" /></div>
<div class="span8 ">paragraph1 blah blah blah</p>
<p>paragraph2 blah blah blah</p>
<p>paragraph3 blah blah blah</div>
</div><!-- .row (end) -->

As you can see, the span8 element of the first paragraph, contains an ending P tag which was never open. All pages fail HTML validation.

incompatible with rpb-chessboard 4.2.2 plugin

Rpb Chessboard don't load shortcode

I tested this problem with

Cherry Plugin version Version 1.2.7
Cherry Lazy Load Boxes Plugin Version 1.0

I found a workaround here
yo35/rpb-chessboard#49

Edit cherry: header.php and add comment this line

<script src="<?php echo PARENT_URL; ?>/js/jquery.mobile.customized.min.js" type="text/javascript"></script>

Now plugin rpb-chessboard work but any one have a final solution for it ?

Scrolling not working in Chrome

Scrolling continues to not work in chrome for me, even after attempting every fix I have found.

Is there anything else that needs to be updated?

theme-init.php ambiguous

The framework has a "theme-init.php" which is not used at all, it is never called.

Instead, the framework is hard-coded to ONLY call the child theme '/includes/theme-init.php'.

Shouldn't the framework check if the child template has a theme-init.php first, and use it, otherwise use its own theme-init.php?

Current code:

    include_once (CHILD_DIR . '/includes/theme-init.php');

Proposed code:

if ( file_exists(get_stylesheet_directory().'/includes/theme-init.php') )
    include_once (CHILD_DIR . '/includes/theme-init.php');
else
    include_once (PARENT_DIR . '/includes/theme-init.php');

Custom post types and custom templates

Hi,
I created a custom post type inside a plugin and I would create cherry framework compatibile page templates for it. It's possible?

Where can I find the "cherry_entry_before", "cherry_entry", "cherry_entry_after" actions?

Thank you
Roberto

PHP 8 Error Fix

CherryFramework works with PHP 8 with a few modifications at Wordpress 5.6 in my case.

(1) /wordpress/wp-content/themes/CherryFramework/includes/lessc.inc.php (convert {} to [])
Line 657 to: $subProp[1][0] != $this->vPrefix)
Line 1624 to : if ($name[0] != '@') $name = '@'.$name;
Line 2281 to: if (!is_string($tag) || $tag[0] != $this->lessc->mPrefix) {
Line 2335 to: if ($tag[0] == $this->lessc->vPrefix)
Line 3065 to: } elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {

(2) /wordpress/wp-content/plugins/cherry-plugin/includes/plugin-assets.php
Line 108 from: $https = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : ""; ->
Line 108 to: $https = empty($_SERVER["HTTPS"]) ? '' : (($_SERVER["HTTPS"] == "on") ? "s" : "");

Strict Standards: Only variables should be passed by reference in /path/wp-content/themes/CherryFramework/functions.php on line 279

Hi CF, the framework is generating the following notice with theme http://www.templatemonster.com/wordpress-themes/47536.html :

Strict Standards: Only variables should be passed by reference in /path/wp-content/themes/CherryFramework/functions.php on line 279

Strict Standards: Only variables should be assigned by reference in /path/wp-content/themes/CherryFramework/functions.php on line 279

Strict Standards: Only variables should be passed by reference in /path/wp-content/themes/CherryFramework/functions.php on line 279

Strict Standards: Only variables should be assigned by reference in /path/wp-content/themes/CherryFramework/functions.php on line 279

why this occurs?

Thanks Friends !

Problem in parallaxSlider

Notice: Undefined variable: resutlOutput in /home/rdvcomunicacao/clientes/cuchiarelli/wp-content/themes/theme52382/includes/parallaxSlider.php on line 64

image

Guys, can you help me?

cherry framework postgrid

please cherry framework post-grid doesn't select posts according to category. If we pick a particular category to post, it just posts everything...

Filters in filterable-portfolio-loop?

Line 255 of filterable-portfolio-loop.php:

....echo mb_substr($title, 0, 40);....

Would it be possible to offer a filter hook on the line that prints the title of a portfolio item? The portfolio item's titles are currently cut at 40 characters. This is awkward on our site and I'd like to override this behavior and print the full title. Currently I don't have an easy way to do this without overriding the loop-template in entirety or manually overriding the file. Thanks for your consideration.

Wordpress Site Compromised, version 1.2.6 Plugin Is The Culprit

Hi,

I have a client whose site experienced a breach because of your plugin, it looks a bit serious because the attacker was able to get local write access and write numerous files with obfuscated/base64'd code.
Where can I submit all the files associated with a breach so they can be analyzed reviewed by your security/dev team to prevent it from being further exploited or should I attach them here?

Thanks.

wp-content should not be hardcoded

I noticed that in CherryFramework, the name of "wp-content" path is hardcoded. This should not be the case, because many installations use a feature of WordPress, which allows the administrator to set a new or different wp-content directory.

For example, in wp-config.php the admin may define:

define('WP_CONTENT_DIR', '/home/website/public_html/my-content-new');
define('WP_CONTENT_URL', 'http://www.website.com/my-content-new');

As a result, parts of the code will always return false and/or fail, for example (from shortcodes.php):

$content_str = 'wp-content';
$pos    = strpos($audio_url, $content_str);

The code should check for the existence of WP_CONTENT_DIR/WP_CONTENT_URL and take them into consideration.

fix undefined array element error in options-framework.php

Insufficient checking for undefined array element. This fixes the error, but more care should be taken as to why the code reaches that point with undefined array elements.

--- options-framework.php.orig  2014-06-08 13:38:27.723817666 +0300
+++ options-framework.php   2014-06-08 13:38:29.644817663 +0300
@@ -372,7 +372,7 @@
        }

        // For a value to be submitted to database it must pass through a sanitization filter
-       if ( has_filter( 'of_sanitize_' . $option['type'] ) ) {
+       if ( has_filter( 'of_sanitize_' . $option['type'] ) && isset($input[$id]) ) {
            $clean[$id] = apply_filters( 'of_sanitize_' . $option['type'], $input[$id], $option );
        }
    }

jquery-migrate plugin is irrelevant

The framework is using jquery-migrate plugin, which is irrelevant in this case, because the migrate script is for jQuery 1.9 or newer (to support removed functions in 1.9+ versions of jquery).

It is irrelevant in CherryFramework because its still using jQuery 1.7.2 !

Style-switcher bug in framework_options.php

When accessing the menu Appearance/Customize, I get the following error:
Warning: require_once(/home1/igeekden/public_html/mackayrefrigeration.com.au/wp-content/themes/CherryFramework/admin/style-switcher/controls/layout-picker.php) [function.require-once]: failed to open stream: No such file or directory in /home1/igeekden/public_html/mackayrefrigeration.com.au/wp-content/themes/CherryFramework/framework_options.php on line 1243

Fatal error: require_once() [function.require]: Failed opening required ‘/home1/igeekden/public_html/mackayrefrigeration.com.au/wp-content/themes/CherryFramework/admin/style-switcher/controls/layout-picker.php’ (include_path=’/home1/igeekden/public_html/mackayrefrigeration.com.au/wp-content/plugins/google-analyticator/google-api-php-client/src:.:/usr/lib/php:/usr/local/lib/php’) in /home1/igeekden/public_html/mackayrefrigeration.com.au/wp-content/themes/CherryFramework/framework_options.php on line 1243

It looks like the layout-picker that was removed in version 3.1.1 is still being referenced in framework_options.php on line 1243.

import.php file bug in cherry plugin with french translation

Some french translations has single quotes in them and makes the js crash in the file cherry-plugin/admin/import-export/import.php

example of one of the many lines that crash:

import_text['uploaded_status_text']= '<?php _e( "Sample data installing. Some steps may take some time depending on your server settings. Please be patient.", CHERRY_PLUGIN_DOMAIN) ?>';

can be resolved by using double quotes:

import_text['uploaded_status_text']= "<?php _e( "Sample data installing. Some steps may take some time depending on your server settings. Please be patient.", CHERRY_PLUGIN_DOMAIN) ?>";

I'd send a pull request but since the file is included in a .zip file I'll let you look into it.

Thanks!

Please upgrade TGMPA to latest version

We noticed you are using the TGM Plugin Activation library in your theme.

You are using an old version. The latest version (2.6.1) fixes some - published - security issues as well as offering tons of bug fixes and new features.

Upgrading will save your users the frustrating experience of fatal errors, like this: https://wordpress.org/support/topic/error-parse-error-syntax-error-unexpected-t_paamayim_nekudotayim/page/2/#post-9459190

We would like to urge you to upgrade to the latest version of TGMPA. You can download the latest version and view the changelog at http://tgmpluginactivation.com/download/

When you upgrade, you may also want to adjust the config you use as some settings were deprecated in v2.4.0 and new ones introduced in v2.5.0.

For more information on the current settings: http://tgmpluginactivation.com/configuration/

Most notable changes:

  • you may want to add the is_callable setting to the plugins array for plugins which offer both a free and a premium version - see https://github.com/TGMPA/TGM-Plugin-Activation/blob/2.6.1/example.php#L109
  • the 'parent_menu_slug' and 'parent_url_slug' config options were removed in 2.4.0. Similar functionality was re-introduced in 2.5.0 with the 'parent_slug' and 'capability' config options.
  • A number of new strings were introduced. If you have translations available, you may want to consider giving back as TGMPA intends to start providing native translations.

The up-to-date example file can be found here: https://github.com/TGMPA/TGM-Plugin-Activation/blob/2.6.1/example.php

If you would like to stay informed of new updates and developments, please follow the TGMPA account on Twitter.

Kind regards,
The TGMPA team

posts-grid shortcode not showing featured images

Hi, I've been trying to use the Cherry Framework for a couple of days now and I keep running into problems with the posts-grid shortcode.
I can insert it just fine into the page I'm working on but when I view the page the posts are shown with the excerpt but no image. Please see the attached image.

I've been trying to find out where in the code this is coming from but the code that is generated on the page is different from the code in the function for the shortcode.
My short code is:

[posts_grid columns="2" rows="1" order_by="date" order="DESC" thumb_width="50" thumb_height="50" meta="yes" excerpt_count="100" link="yes"]

I've double checked to make sure that the posts actually have featured images and they are showing up correctly in the blog page layout and in the mini-posts-grid but just not in the posts-grid. Any help would be very much appreciated!
Regards,
Sunnefa @ Outcome Software
screenshot

fix template_url shortcode return code error

The template_url shortcode does not check the possibility of strpos() returning false and produces a php error in the next line. The following patch fixes the problem.

--- html.php.orig   2014-06-08 13:30:14.000000000 +0300
+++ html.php    2014-06-08 13:31:42.469818131 +0300
@@ -466,8 +466,10 @@
        $content_str  = 'wp-content';

        $pos          = strpos($content_url, $content_str);
-       $template_url = substr($content_url, 0, $pos-1);
-       return $template_url;
+       if($pos!==false)
+           return substr($content_url, 0, $pos-1);
+       else
+           return $content_url;
    }
    add_shortcode('template_url', 'template_url_shortcode');
 }

Проблема с редиректом

В старндартной функции wordpress предусмотрена функция смены URL. Она отказывается перезаписывать url в Cherry Framwork.
Я хочу сделать domain/%portfolio%, однако при данном выводе идет редирект на 404. И я не могу его поймать. Пожалуйста, подскажите как сделать url второго уровня в вашем фреймворке.

С уважением Василюк Дмитрий.

Fatal Error when running PHP 7.1

Switched my server to PHP 7.1 and the site crashed, here's the error I got:

Fatal Error (E_COMPILE_ERROR): 'continue' not in the 'loop' or 'switch' context occurred in wp-content/plugins/cherry-plugin/includes/widgets/widgets-manager.php on line 563.

Switched back to PHP 5.6 and it worked again. Is there a fix yet for 7.1? I need to get that server upgraded.

Facebook share

If i share a page on Facebook, the first image that shows FB is http://tmbhtest.com/images/ie7.jpg. I think it also occurs with other search engines. Should be replaced in the header.php block ie7-alert, doing a check browser in other way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.