Giter Site home page Giter Site logo

thewirelessguy / cornerstone Goto Github PK

View Code? Open in Web Editor NEW
155.0 29.0 40.0 2.29 MB

Cornerstone is a WordPress starter theme based on the Zurb Foundation Responsive Framework. Cornerstone aims to provide a lightweight starter theme that is responsive and SEO friendly that web designers can build great looking websites on.

License: GNU General Public License v2.0

PHP 13.78% CSS 86.15% JavaScript 0.07%
wordpress css php zurb foundation wordpress-theme

cornerstone's People

Contributors

alana-mullen avatar pablopaul 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  avatar  avatar

cornerstone's Issues

Remove Orbit from Admin Menu [found it]

I'm developing a site for my local church that will require multiple people to update content to the site. I don't want to use the orbit slider and instead am opting for a different one. I want to keep things simple for the non techies that will be adding content to the site so I wonder how I can remove the orbit slider tab from the admin menu just to keep it simple for them. I'm working on it myself but figured I would post this if I can't figure it out for myself.

Nevermind all of this I found where the custom post type was register in ../inc/foundation.php and just deleted it.

Migration from Cornerstone Foundation 3

Is there any info on migrating a site built with the Foundation 3 version of Cornerstone to this version? Any tips/gotchas/etc.? Any help greatly appreciated.

tiny issue

theme threw some errors when I tried it

had to do with the quotes on functions.php -line 16
// Add widget live previews support
add_theme_support(‘widget-customizer’);

should be:
// Add widget live previews support
add_theme_support('widget-customizer');

Kudos on the great work guys.

Localisation support?

This isn't really a technical issue rather than a feature request and I hope I'm not asking too much here. :)

Since I'm german I'd like to use my native language in the template files. Actually the only way to translate your messages (eg. in the search results) for me is to copy your files in my child theme and edit them there. This could be a pain in the ass to keep my files updated to yours. :)

Therefore I'd like to see a localization folder with some .po and .mo files.

Thanks,
Sven

Missing Closing Div

Seems to be missing closing div for <div class="off-canvas-content" data-off-canvas-content>

Issues with Advanced Custom Fields plugin?

Has anyone tried using the ACF plugin with the theme?

Just curious as I'm a frequent user of it on projects, and for some reason or another I can't seem to get it to work while using Cornerstone.

Deprecated: Function ereg() is deprecated in cornerstone/functions.php on line 191

Hi,

if you set

define('WP_DEBUG', true);

in the wp-config.php I get the following deprecated notice:

Deprecated: Function ereg() is deprecated in /Library/WebServer/Documents/wordpress-dev/wp-content/themes/cornerstone/functions.php on line 191

Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/wordpress-dev/wp-content/themes/cornerstone/functions.php on line 192

bildschirmfoto 2013-12-04 um 13 04 22

Title is not rendered correctly

In an out-of-the-box wp 3.8 installation and your cornerstone and example child-theme correctly installed, the title is not rendered correctly.

in title, it shows: http://url.tomysite.com

EDIT:
By checking the source, the title tag appears empty. It seems that the tag
<?php wp_title(''); ?>
is not being rendered.

I changed it to <?php bloginfo( 'name' ) ?>and it displays the blog name correctly.

No sass files?

I've moved on from using reverie as a foundation based wordpress theme since it wasn't being updated for a year. I came across your theme and I must say it looks very nice but when I download it I see there is no sass files at all from foundation? Maybe it would be a good idea to add them to the package, just suggesting.

Feature Wish - Searchform in top-bar

Yep, that would be a bomb. I've tried it myself but I have to admit I only understand your code partial ;)

It's a nice to have, so it's not very urgent to me. In case of you don't like my idea, maybe you could give me a hint how or where to include the

get_search_form();

code.

Dequeue parent theme's copy of Foundation

Hi Stephen,

I've tried to implement your suggestions via Twitter, but have been unsuccessful. Another developer suggested this: https://gist.github.com/kristarella/32d37594520ee26fe1ae
but that wipes out all styles entirely.

What I'm trying to do is set up a cornerstone child theme from where I can edit Foundation variables directly, in the foundation/_settings.scss file and NOT load another copy from the parent. Not being a PHP wiz, I keep missing something between the parent & child theme's functions.php files.

Adjust Orbit settings?

I tried the usual script functions in the footer of the theme to hide the navigation arrows and a few of the other Orbit settings as explained in the Foundation Docs, but they don't seem to be working with the setup of the theme.
http://foundation.zurb.com/docs/components/orbit.html

Perhaps I'm doing something obviously simple, but I would appreciate any help!

Single page nav anchor links do not get active class

Have had success with other themes implementing the following in functions.php, but it does not seem to work in Cornerstone:

add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);

function special_nav_class ($classes, $item) {
    if (in_array('current-menu-item', $classes) ){
        $classes[] = 'active ';
    }
    return $classes;
}

Orbit validation error

The orbit function in foundation.php produces invalid markup.

This is hat http://validator.w3.org/ spit out:

Element div not allowed as child of element ul in this context.

I have fixed it on my side by changing line 179 and 184 from

to
  • echo '<li class="content">'
    
        the_title();
        the_content();
    
    echo '</li>';
  • Theme hooks. Do you use them? I'm considering removing them. Would welcome feedback.

    I'm considering removing custom theme hooks, for example:
    do_action( 'cornerstone_before_content' );

    I'd like to get an idea of how you use them and more importantly, if you use them. One option is to replace them with hooks from the Theme Hook Alliance so that your plugins are not tied to the theme.

    A few months ago I removed cornerstone_after_body hook and replaced it with the new theme hook wp_body_open(). Even if we keep the custom theme hooks for now, I will be replacing them with official WordPress theme hooks as they become available.

    Let me know your thoughts below.

    strange behavior of pagination in smartphone-size

    Hello,
    i have a good looking implementation of emm_paginate in desktop- and tablet-view, which breaks down from "1, 2, 3, …" to "»". Even if i delete all my css and just have the cornerstone-css for itself, so i think it could be a general problem.
    HTML of pagination-ul is still there, but i can't find the problem why it is not visible.

    Issue can bee seen here:
    http://www.vorschau.salon-marita-wr.de/aktuelles/

    thanks for help,kind regards
    Torsten

    Admin Bar is missing?

    Hi,

    when I activate your theme, I can't go back to my WP dashboard because the whole WP Menu bar is missing. This is on all devices and desktop.

    Thanks in advance,
    Sven

    Issues with Advanced Custom Fields plugin?

    Has anyone tried using the ACF plugin with the theme?

    Just curious as I'm a frequent user of it on projects, and for some reason or another I can't seem to get it to work while using Cornerstone.

    Is your orbit alt empty ?

    I have empty alt, image is featured, with all text caption, alt, title filled..
    but i cant get output of alt and title..

    I did find solution for my project

    $orbtitle = get_the_title(); and echo '<img src="'. $orbitimage['0'] . '" alt="' . $orbtitle . '" title="'. $orbtitle . '" />';

    Admin Bar is missing?

    Hi,

    when I activate your theme, I can't go back to my dashboard, because the WP Menu is missing completely. This is on desktop.

    Removal of Orbit CPT

    First, great theme! Awesome job. I'm wondering if it's possible to remove the Orbit Custom Post Type from a child theme? I tried using remove_action('init', 'Orbit'); but that doesn't remove the custom post type. I can manually remove it from the parent theme, but I'm trying not to touch that parent theme so we can update it without overwriting changes. No matter what I try, I can't get rid of the Orbit Custom Post Type.

    Thanks for your help!

    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.