GithubHelp home page GithubHelp logo

presscustomizr / customizr Goto Github PK

View Code? Open in Web Editor NEW
137.0 14.0 66.0 115.25 MB

Simple and fast WordPress theme designed to help you attract and engage more visitors. Provides a perfect user experience on smartphones. Powers 100k+ active sites around the world. Hundreds of 5-stars reviews received on WordPress.org.

Home Page: https://presscustomizr.com/customizr

License: Other

Shell 0.03% PHP 42.03% JavaScript 25.11% CSS 26.18% SCSS 2.80% Less 3.85%
theme wordpress-theme wordpress open-source gplv2 customizer

customizr's People

Contributors

andrewfandrew avatar daniellandau avatar eri-trabiccolo avatar giorgioriccardi avatar james-kshitij avatar james-xitij avatar jts-il avatar mejatysek avatar muhammadamirzia avatar peopleinside avatar skynet2029 avatar tommywik 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

customizr's Issues

Add option to display a featured image with Post listings

Current listings only show a title and snippet.

I personally haven't worked with PHP/WorkPress themes to know where to extract the featured image info.

Looks like https://github.com/Nikeo/customizr/blob/master/parts/class-main-content.php is trying to do something with thumbnail, so this could be a bug instead of a feature request.

http://wp-themes.com/customizr/ was used as reference to indicate the missing image.

<article id="post-19" class="post-19 post type-post status-publish format-standard hentry category-uncategorized tag-boat tag-lake row-fluid">
        <div class="tc-content span12">
                    <header class="entry-header">
                <h2 class="entry-title format-icon"><a href="http://wp-themes.com/?p=19" title="Permalink to Worth A Thousand Words" rel="bookmark">Worth A Thousand Words</a> </h2>  
            <div class="entry-meta">
            </div><!-- .entry-meta -->
        </header><!-- .entry-header -->
                        <div class="entry-summary">
                            <p>Boat.</p>
                        </div><!-- .entry-summary -->
                    <footer class="entry-meta">
        </footer><!-- .entry-meta -->
        </div>
</article>

screen shot 2013-08-29 at 10 19 37 am

Display a back to top arrow on scroll not working in Customizr Pro 1.1.10 and Customizr 3.3.27

The "Display a back to top arrow on scroll" option is not triggering the class .show anymore in Customizr Pro 1.1.10 and Customizr 3.3.27

I'm not sure if the problem is here:
https://github.com/Nikeo/customizr/blob/01e34e16e76904b93d65bc87cbd6ea9600a4898c/inc/assets/js/parts/main.js
because when I scroll down on the page I get this log error:
TypeError: f.className.indexOf is not a function
.../wp-includes/js/wp-emoji-release.min.js?ver=4.2.2
Line 4
etc. etc.

Customizr is running on a fresh clean WP 4.2.2 version, nothing else is installed. I'll try to figure out tomorrow

Remove back to top link

It would by nice to remove back to top link from footer when we have back to arrow already.

Parse errpr

Parse error: syntax error, unexpected '<', expecting T_FUNCTION in /home/buildab8/public_html/wp-content/themes/customizr-child/functions.php on line 187.

I have tried lots of things to lose this msg but nothing works. tks for your help

Ken...

RTL-ing bootstrap parts

There are some items that need to converted to suport RTL sites, but their definition is in the bootstrap LESS files (like .dropdown-submenu)

I thought of two options:
A. update the bootstrap files.
B. duplicate the definition in on of theme LESS files
is there another way?
What is the best way to create RTL version?

New option of 3.3.26 not translatable

After installing 3.2.26 discovered that the new options:
-Galleries
-Post/page navigation
and their sub options are not available for translation.

please add the relevant phrases for translation :-)

customizer : Controls visibility broken for the regular menu options

looks like the menu options for the regular looks do not show up
to reproduce:

  1. set the side menu, save & exit the customize
  2. enter again and set the regular menu, -> regular menu "related"* options appear
  3. save & exit the customize
  4. enter again -> no regular menu "related" options

*(such as submenu reveal etc )

New option in Global Settings : Background

first approach : (not as background of body) will be added as background of new empty div block inserted right after body opening tag.
=> to allow further customizations like blur effect

"Back to top" link animation

It would be nice to have a simple animation that would take the user back to the top of the page.

Something along the lines of

$('body,html').animate({
    scrollTop: 0
}, 500);

I can provide a pull request with that change, if you have other things to do at the moment.

theme upgrade breaks site

Hello Nikeo,
I have been using Customizr for several years. Sorry at this stage i do not have screenshots with error message. But i just tried to upgrade from old version of Custmizr to the latest. This was after upgrading to latest version of wordpress and also successfully upgrading the plugins. Although there are several themes, i left the others alone and merely upgraded Customizr. It breaks the site.

Sorry i am not at the level where i can fix this issue. Sorry to sound negative, but at least i thought you would prefer to know.

Thanks,
Andrew

Snipet add 4 featured page :)

add_action ( 'customize_register'       , 'xxx_tc_customize_register' ,20,1 );
add_filter ( '__customize_map'          , 'xxx_tc_customizer_map');


add_action ('init' , 'xxx_tc_customizer_map_init');
function xxx_tc_customizer_map_init() {

  remove_action( 'customize_register', array( TC_featured_pages::$instance , 'tc_customize_register'), 20, 1 );
  add_action ( 'customize_register'       , 'xxx_tc_customize_register' ,20,1 );


  add_action  ( '__before_main_container'     , 'xxx_tc_fp_block_display', 10 );


  remove_filter ( '__customize_map'          , array( TC_customize::$instance , 'tc_customizer_map' ));
  add_filter ( '__customize_map'          , 'xxx_tc_customizer_map');

  remove_action( '__before_main_container', array( TC_featured_pages::$instance , 'tc_fp_block_display'), 10 );
  add_action  ( '__before_main_container'     , 'xxx_tc_fp_block_display', 10 );



}

  function xxx_tc_customize_register( $wp_customize) {

    return TC_customize::$instance -> tc_customize_factory ( $wp_customize ,
                                                                  $args = TC_customize::$instance -> tc_customize_arguments(), 
                                                                  $setup = tc__f('__customize_map', $get_default = 'true' ) );
  }


function xxx_tc_customizer_map($r) {
  $r = TC_customize::$instance->tc_customizer_map();


  $r['add_setting_control']['tc_theme_options[tc_featured_page_four]'] = array(
                    'label'       => __( 'Home featured page four' , 'customizr' ),
                    'section'     => 'tc_frontpage_settings' ,
                    'type'        => 'dropdown-pages' ,
                    'priority'      => 90,
  );

  $r['add_setting_control']['tc_theme_options[tc_featured_text_four]'] = array(
                    'sanitize_callback' => array( TC_customize::$instance , 'tc_sanitize_textarea' ),
                    'transport'   => 'postMessage',
                    'control'   => 'TC_controls' ,
                    'label'       => __( 'Featured text one (200 car. max)' , 'customizr' ),
                    'section'     => 'tc_frontpage_settings' ,
                    'type'        => 'textarea' ,
                    'notice'    => __( 'You need to select a page first. Leave this field empty if you want to use the page excerpt.' , 'customizr' ),
                    'priority'      => 100,
  );
  return $r;
}

Post thumbnails not showing in post lists for imported posts

Our thumb_fld isn't generated when the posts are imported (using or not the import/export wp procedure or just importing the sql db) and this is normal. Though when a post has a thumbnail we should create this field on the fly.
Actually I tried this:

  1. remove the thumb_fld postmeta associated to a post from the db
  2. as normal user (not logged in) reload the post list
    Result:
    thumb_fld created in the db and thumbnail shown.
    What do you think can the issue be?
    The only thing I can think of is an empty $_thumb_id

p.s.
do we use all this method in order to show attachments as featured image? right?
So to avoid always cycle among them. right? :D

Slider demo height

Reported here:
https://wordpress.org/support/topic/top-of-slider-cut-off-1?replies=6#post-7333605

I just installed a brand new customizr and the demo's height is 750px.
The thing is that as soon as you ENTER the customize the default 500px is stored in the db (as well as all the other options) and then this value is applied. (am I wrong?)
Why we don't store just the delta between default and new options as we did before?
Can this depend on these improvements (?):
0a2778c
d720a84

Mmm maybe not.
Looks like this happens as soon as you activate the theme.
Try this:

  1. switch on another theme
  2. delete tc_theme_options from the wp_options table in the db
  3. activate customizr from Appearance -> themes
  4. look at the tc_theme_options field in the db
    it has all the options! (not as defaults array)

Now do
2)
3a) go on a site page
4) look at the tc_theme_options field in the db:
it has the defaults array

Add a simple related posts block to single posts

  • user can select if the related posts are based on category, tags or both
  • user can select the number of related posts displayed, up to 9
  • user can select the layout : number per row
  • user can select what is displayed : thumbnail, excerpt (title is always displayed)

Grid expanded post

At the moment the expanded sticky post is not the latest published but just the first in the array of the sticky_posts option. We should retrieve the latest published among those posts.A custom SQL should be the less expensive way.

Woocommerce Checkout page - returning customer and coupon links broken

You can see the issue from the customizr demo site.

http://demo.themesandco.com/checkout/

You need to add some items to the cart and proceed to checkout, but then click the links next to returning customer or have a coupon to see the issue. They don't appear to do anything and there are not javascript errors in the web developer console.

The issue seems to be related to jQuery. If I update to the latest version of jQuery on my wordpress those links work, but then there are other issues with the customizr theme on latest jQuery such as "TypeError: undefined is not an object (evaluating 'a.browser.msie')" since .browser is not supported in jQuery anymore.

screen shot

TC_Params, issue with bool values

https://wordpress.org/support/topic/envira-gallery-images-do-not-load-after-update?replies=4#post-6476252

When a boolean Customizr option isn't set at all, the passed value of that option is "0". This 'cause in the db I see tc_theme_defaults bools are saved as "i" (integer I suppose) and not as "b" (boolean), Why?
in js
"0" != false
"0" == true

You can cast all boolean options to bool in php before passing them to the script then when you fallback to the default values ( "" == false ).

Social media icons broken in german translation

When using the german translation of Customizr, the social media icons are broken. According to this forum thread the problem seems to be the the case of the services in the german translation file.

A hot-fix is to change the service names in the translation file to lower case. But this has to be fixed in the code.

Add slider image size

I just installed your theme and decided to try-out the slider. When I uploaded a pretty big image, I got a wide, but short image, instead of the nicely proportioned images that you can see in the demo slider.

So I looked-up the documentation of the theme, but couldn't find the size for the images being mentioned anywhere. Then I went to the support forums on WordPress.org and I found another user asking the same question.

I then checked the original image sizes of the demo slider images via Chrome's developer tools and I found-out that it's 1200 x 500px.

It would be good to offer automatic photo cropping via WordPress's add_image_size() function.
Since this function might crop the image in a way the user doesn't want to, it should also be mentioned what the desired size/ratio for the images is, so that the user can manually resize them if necessary.

Again - I can work on that and do a pull request if necessary.

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.