Code Monkey home page Code Monkey logo

cbach-wp-gridster's People

Contributors

carstingaxion avatar

Stargazers

 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

cbach-wp-gridster's Issues

Replace GRIDSTER_FRONTEND_CSS with add_theme_support()

Keep the global namespace clean, use the built-in API instead.

Themes should register their support with:

add_theme_support( 
    'gridster',
    array(
        'front_stylesheet' => get_stylesheet_directory_uri() . '/gridster.css'
    )
);

The plugin should check that with:

$theme_support = get_theme_support( 'gridster' );

if ( ! empty ( $theme_support['front_stylesheet'] ) )
    wp_enqueue_style( 'gridster_front', $theme_support['front_stylesheet'] );
else
    // enqueue the plugin stylesheet

Do not call settings_errors()

This function is called automatically by WordPress when there are settings errors.

Calling it in the plugin code doubles most notices in various pages in the backend, for example activation of other plugins.

Gridster breaks Wordpress visual editor in 3.9

We've just updated a site to 3.9 which is running the Gridster plugin 1.4.

As a result, the visual text editor no longer works - we're stuck with the text editor. When I deactivate Gridster, I see the visual editor as normal.

Please advise.

Issue while editing a saved gridester

Hi,

  1. I have created a gridster.
  2. The I see the gridser under 'All Gridster' list.
  3. I clicked on edit and changed the size and updated.
  4. The layout and everything disappered and converted to a post style edit with nothing in it.
  5. Also, it disappeared from the list of all gridsters.
  6. The samething happens whenever I edit a gridster.

Please help.

Default template - edits not showing

Hi Carsten - great plugin.

I'm evaluating for a client project, and unfortunately I can't seem to adjust the default view (even by editing directly via Wordpress).

Adjust the HTML output of the gridster-widgets by overriding the default template from cbach-wp-gridster/views/gridster-default.php.

This doesn't seem to work - has the default view been copied elsewhere? The function "get_template_hierarchy" seems to suggest this. I've made some other CSS adjustments for a responsive layout, however as multiple H1 elements are not advisable from an SEO perspective, I would like to edit the default template use h2 elements instead (I also need to add some additional CSS hooks).

I'd be happy to contribute a donation to paypal if this issue can be solved.

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.