Code Monkey home page Code Monkey logo

largo's Introduction

Largo

A responsive WordPress framework designed for news publishers and developed by @INN and maintained by @WPBuddy.

About Largo

Largo is a responsive WordPress starter/parent theme designed with the needs of news publishers in mind.

The project extends work done by NPR's Project Argo.

Current version: v0.6.4 Working version: 0.7.0-prerelease

Changelog is available in this repository: changelog.md

Documentation and more information at: laro.wpbuddy.co

Support is available via our helpdesk system or by emailing [email protected].

Minimum PHP version: We only support the currently-maintained versions of PHP.

Minimum supported WordPress version: We recommend using the current version of WordPress. To see what versions of WordPress automated tests are run against, check out the Travis CI configuration file.

If you're using Largo on your site, say hi! Send us an email at [email protected] or through the contact form, sign up for a slot in our weekly open office hours, or join our public Slack group. We'd love to include you on our list of sites using Largo.

Setup

Follow the setup instructions in the documentation.

Contributing

We welcome contributions to any of our open source projects.

If you're not sure where to start, review the open issues on github (you might be particularly interested in the issues labelled help wanted or good for beginners) and then see our contributing guidelines to get started.

If you're still not sure where to start, that's totally fine! Just shoot us an email and we'll do our best to help.

We are making regular updates that may or may not always play nice with previous versions.

For released versions of Largo, please see the list of tagged releases.

The release branch is what INN is using for our sites in production. Please do not submit pull requests to this branch unless they are minor hotfixes that can be directly merged.

The trunk branch is contains work in progress slated for our next point release. Feel free to try it out, report issues, etc. but we DO NOT recommend using it in production. This is also typically the branch to submit pull requests to if you want to contribute to the project.

The master, develop, and 1.0 branches contain work in progress slated for an eventual rewrite of Largo.

Feedback, comments and questions to: [email protected]

Credits

Built by the Institute for Nonprofit News and maintained by the technology team at WP Buddy (@yourwpbuddy):

Extra special thanks to the previous team at INN Labs:

Special thanks to everyone else who has contributed to the project, including the following alphabetical list of people:

This project builds on a number of great open source projects, including:

largo's People

Contributors

aschweigert avatar benlk avatar billmca20 avatar charmoney avatar chrishardie avatar danielbachhuber avatar drewapicture avatar drywall avatar fenriz07 avatar jackbrighton avatar joshdarby avatar joshuarrrr avatar julia-smith avatar kaeti avatar lindamood avatar megabulk avatar meredithinn avatar mikeschinkel avatar mospaw avatar mspseudolus avatar nacin avatar pedroxido avatar rclations avatar rlambertsen avatar rnagle avatar seamusleahy avatar seanchayes avatar vanduc1102 avatar wjhdev avatar yayannabelle 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

largo's Issues

[Chrome] back button action appears to log out user

Steps to reproduce:

1- Login
2- Go to homepage.
3- Go to a post
4- In Chrome, go back using the browser back button

Result: the logged in state appears to be lost. No WP admin bar and (if state is needed elsewhere on the page, it is lost there too).

Expected result, the user should appear to remain logged in.

Note that the session is not lost and if you click on any new page, your logged in state reappears.

I've posted a mov of the phenomenon (in two different theme implementations):

https://dl.dropbox.com/u/48504/loggedinlost.mov
https://dl.dropbox.com/u/48504/losing%20state.mov

Dev Warnings

I'm testing the dev branch and like what I see so far. However, I noticed a couple Warnings when I scroll to the bottom of a single post. In the "More About..." section there are these two warnings:

Warning: array_shift() [function.array-shift]: The argument should be an array in /path/largo/largo-related-posts.php on line 22

Warning: Invalid argument supplied for foreach() in /path/largo/largo-related-posts.php on line 39

Create Header Tag Setting

Create a setting in options so that users can enter ad, analytics tags in head rather than directly editing the header.php file of child theme.

Widgets/Sidebars Missing in 3.8 MultiUser

I just updated my MU install to WordPress 3.8. I noticed when the Largo theme/child theme is activated, most of the available widgets vanish from the admin screen. Available sidebars also are gone. When I enable another theme in 3.8 MU, that theme's widgets/sidebars all appear on the admin screen. This missing widget/sidebar issue is not present in the single user version of MU.

Better formatting for search results pages

We don't need to show the byline and tags when pages are returned in search results. At the same time let's see if we can generally make the formatting here a bit more SERP like.

Categories Gone Wild

There is some category weirdness going on in the "Post Prominence" custom taxonomy. I decided to nest the featured tags under "Featured" and "Homepage." I renamed "Homepage Featured" to "Homepage". I then made "Top Story" a child of "Homepage." But here is the massively weird part: more than 200 empty copies of the "Homepage Featured" category were created after I renamed the original to "Homepage."

The same behavior occurred when "Featured in Series" and "Footer Featured" became children of the "Featured" category in "Post Prominence."

I am using the latest Beta of WordPress 3.6, but I've Googled this problem and there is no sign of anyone else experiencing this runaway category behavior.

Memory leak in IE9

When the theme is running in IE9 the memory usage of IE continues to build up until the browser crashes. Disabling any reference to cssText in largoPlugins.js appears to resolve this.

LargoCore.js Changes?

When should the changes made to largocore be available in the Largo-master download? I'm looking forward to having G+ and LinkedIn available directly for post sharing.

Landing pages are not working under Child Theme

I have yet to fully explore this, but I can confirm using the master branch, that Landing Pages do not work within a Child theme.

Is anyone else out there using a Child theme for Largo?

deprecated functions in /inc/post-templates.php

Investigate the proper replacements for the following:

RECOMMENDED: get_themes found in the file inc/post-templates.php. Deprecated since version 3.4. Use wp_get_themes() instead.
Line 10: $themes = get_themes();

RECOMMENDED: get_current_theme found in the file inc/post-templates.php. Deprecated since version 3.4. Use wp_get_theme() instead.
Line 11: $theme = get_current_theme();

Header Ad Active?

I see there is an area for a header ad. Is that sidebar active? A quick test displays nothing. If not active, how can I edit?

Google News meta tags tweaks

I noticed some new Google News metatags have been added to the header. First, that is "a good thing." (tm) Martha Stewart. Secondly, I hope the "standout" tag is not generated with every post published. Google will downgrade your link credibility if there are more than 10 standouts per week from a site. Perhaps you can add a counter to the code to prevent going over that limit. Secondly, might you be able to turn the "syndication-source" tag into a meta box? That way, instead of just using the current post all the time, I could use enter nytimes.com, instead, if needed.

update modernizr

we should probably update modernizr to the newest version (and make sure we only include the elements we really need in the custom build). At the same time we should tweak some of the script loading stuff in functions.php and probably add support for respond.js so IE can handle media queries

Theme Images uploads no longer work

After installing the latest build of the parent theme, the "Upload" buttons are dead. I have to grab an image's URL from the media library to paste it into the Largo setup.

top-stories custom term not created correctly

For some reason the child term isn't created correctly (slug is homepage-featured-top-stories instead of just top-stories). Need to research and see if there's a way to correct this or if we just need to modify the homepage template to use the correct slug in the corresponding loop.

Make the INN stories widget more configurable

Probably doesn't need to be hardcoded now that we define the INN Member constant in functions.php.

We should also make it possible to just show headlines and customize the length of the excerpt.

Sticky Nav?

How do I create a sticky main nav? The Boostrap docs say I need to add

Warning for home-templates.php

I'm getting the following warning for the home templates: Warning: include_once(DIR/home-template-functions.php) [function.include-once]: failed to open stream: No such file or directory in /my/site/path/at-host/wp-content/themes/largo/inc/home-templates.php on line 155

Line 155 of inc/home-templates.php points to:

include_once DIR . '/home-template-functions.php';

Issue trying to create uncompressed stylesheet (for documentation)

I'm trying to produce an uncompressed style.css. I am getting an error. Am I using the right command. Any additional instructions on working the styles, especially in a child theme.

Largo darcy$ lessc less/style.less css/style-uncompressed.css
ParseError: Unrecognised input in /Users/darcy/Web/wordpress/wp-content/themes/Largo/less/mixins.less on line 512, column 7:
511 .spanX (@Index) when (@Index > 0) {
512 (~".span@{index}") { .span(@Index); }
513 .spanX(@Index - 1);

Multiple Issues with Latest Master

After installing the latest Master, I found a couple glaring issues. In order of priority: tags don't work. If I clicked on a tag which collects all election stories, the site blinks and displays the homepage. On the backend, I can find the tag, see that there are stories attached. But when I try to "view" the posts, I get the frontpage, not the tagged posts. Downgrading to the previous version of Largo fixes the problem.

Also, a number of the Dashboard widgets either don't display at all (such as Google Analyticator and Site Stats) while others throw errors.

Single Sidebar Gone in Last Two Builds

In the most recent build and the one fixing page sidebars, the sidebar for single stories vanishes. When rolled back to the 3/27 build, the single story sidebar returns.

Images in posts should open in a lightbox

Currently there is no way to view a full sized image when clicked from within a post. We should implement some type of lightbox functionality (ideally with touch/swipe actions for mobile devices)

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.