Coder Social home page Coder Social logo

govfresh / govpress Goto Github PK

View Code? Open in Web Editor NEW
135.0 135.0 50.0 2.22 MB

The WordPress theme for government

Home Page: https://wordpress.org/themes/govpress/

License: GNU General Public License v2.0

PHP 68.11% JavaScript 7.95% CSS 0.14% SCSS 23.80%

govpress's People

Contributors

devinsays avatar emiluzelac avatar ethanteague avatar honyczek avatar lukefretwell 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

govpress's Issues

Homepage content style

the_content section on homepage doesn't retain HTML styling.

See: http://govpress.co

Examples:

What they say

"Top of the line municipal websites can cost small- to medium-sized cities as much as $20,000 or more. It's a shocking figure at a time when our communities' budgets are still struggling. We still need to get information out in a simple, effective manner to the public in the most transparent way possible. The GovFresh WP theme allows us to provide our community with a professional municipal website that is easy to navigate on multiple platforms, including mobile devices and tablets. Open source technologies like WordPress are the way of the future for governments of all sizes."

RSS widget link color

When creating a widget for RSS, because the background and link color are the same, the link is hidden in the widget title.

Also, possible to 'display: none' the RSS icon?

rsswidget

Internet Explorer Testing

I have barely done any browser testing on this project. If someone would like to take this on, that would be amazing. I'm thinking we should actively support the two latest versions of IE, and at least check IE8 and up for serious formatting issues.

Post template for press releases

In the original version of the theme, @lukefretwell used a different template for posts assigned to a "press release" taxonomy.

I think we should do a little more research to see how government websites are formatting these. Perhaps the feature can be added as a separate plugin module to avoid adding code and maintenance weight to the base theme.

Some requirements we might need for this feature:

  • Option to select a taxonomy to be used for press releases
  • Option to set post footer text that could be common for all press releases (e.g. contact info)

Show child menu items on left side of page template

This was a feature in the original version of the theme that @lukefretwell thinks will be useful for government websites.

  • We should autodetect if a page has children. If so, display the as a menu on the left.
  • Add an option so that it can be turned off universally.
  • Add an option to it can be turned off on a per page basis.

Submit button styling

The submit button styling is overriding basic styles making it hard to read in some places.

Can we remove 'box-shadow' and 'text-shadow' styles here?

button, input[type="button"], input[type="reset"], input[type="submit"]

Menu not showing in Category

Hi ! When I select a category, from the lateral "Category" option, it opens it in the main page but it is not showing the menu. It works fine and shows the menu when I open a page or a post. Is there a fix or something I can do to show the menu when opening a category ? Thank you for your help. And many many thanks for making this theme available. It's great !!!
catpage
postpage

RTL Styles

I remove RTL.css for the moment. We'll add it back when someone has time to style it.

Header Tag in Sidebar-Page-Parent

Hello!

I noticed what I believe to be a typo in the sidebar-page-parent.php file:
< h 3 class="widget-title">< /h 1 >

There is both an h3 and an h1 tag. (please ignore the spaces; I'm having difficultly showing all the code without them.)

No Theme update notification

We loaded the GitHub version of GovPress 1.0.1 on our site awhile back and Luke would love for me to update to the latest version housed on Wordpress.org. I believe that's v1.1.

I am trying to update from within Wordpress itself but it states that all of my themes are up to date.

Any idea why this might be? Is it because the version I loaded up came from GitHub initially? Thoughts on fix?

Icon menu doesn't give me CSS class option

The Wiki for the icon menu states I need to provide a CSS class from an organization in order to modify the image that shows up with my link.

Unfortunately I don't appear to have the menu option for CSS class in the icon menu.

Remove the word home from page content

First and foremost, this theme totally rocks! I have been looking for something like this for a long time. It simple enough for a guy like me. I just have one question, I am trying to remove the "home" from showing up in the content area. Its ok to be in the menu. I am trying to find this set of code to remove it but I cant find it no where on the css. Can someone please just guide me to the correct spot where I can make the changes? Thank you.

.home .post-title {
display: none;
}

Homepage content display

We should conditionally show the homepage content section based on whether there's content in the editor.

If that template is being used, and no content is entered into the editor, can we hide that section automatically?

HTML classes for IE

Request from user to add body classes for IE. Let's match what 2014 does:

<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) & !(IE 8)]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->

Rename Theme (cannot use "wp")

The WordPress.org theme review guidelines state that themes cannot use "wp" in their name: http://make.wordpress.org/themes/guidelines/guidelines-license-theme-name-credit-links-up-sell-themes/

We could change the name of the theme from "GovFresh WP" to "GovFresh". Alternatively, we could come up with an entirely new naming convention. This might good, especially if different themes get released in the future. "GovFresh Standard" for instance.

It would also be good to rename the project in GitHub, since we are at a fairly early stage.


To make the update the stylesheet, textdomain, and all prefixes would need to be changed.

Search Button

Hello!

The search button is now showing up correctly; it looks like the value is set to "fl". Here is a capture of what it looks like.

search button

EDIT: So I went into the editor and changed the value to "search", but the font is set to serif. I'm a bit of a newbie at PHP, so I'm not sure how to fix this on the back end.

Yoast Breadcrumbs Placement

Hello!

I've just set up Yoast Breadcrumbs on our site. It looks like in the code it's currently set to show up at the bottom of the page. I was curious as to why you decided to go with this layout, and if you would consider moving it to the top. I think it could get lost at the bottom of the page and not be helpful for people trying to determine where they are on the site.

-Alaina

Homepage widgets

Add widget section for homepage main content area.

See http://wp.govfresh.com as point of reference.

The way I initially set it up was as a page template (page-home.php) with the following elements:

  • hero unit widget section
  • icons
  • show last 3 posts
  • the_content
  • homepage main widget section

Enhancement - Headings

Hello, It could be good to be able to manage headings (H1, H2, H3 ...) on our website.

Icon menu background

Hi,

The background of my icon menu is not working correctly. It only shows two small white blocks at the beginning and the end of the menu.

Could this be fixed?

Best wishes,

Janneke

Developer Notices on Theme Activation

If you set WP_DEBUG to true in wp-config.php- these developer notices show up on activation:

Notice: Use of undefined constant my_tag_cloud_args - assumed 'my_tag_cloud_args' in /Local/govfresh/wp-content/themes/govfreshwp/functions.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /Local/govfresh/wp-content/themes/govfreshwp/functions.php:227) in /Local/govfresh/wp-includes/option.php on line 563

Warning: Cannot modify header information - headers already sent by (output started at /Local/govfresh/wp-content/themes/govfreshwp/functions.php:227) in /Local/govfresh/wp-includes/option.php on line 564

Jetpack Support

Jetpack has a number of modules that government websites might find useful.

We should test and add support for the following modules:

  • Publicize
  • Subscriptions
  • Likes
  • Carousel
  • Sharing
  • Contact Form
  • Tiled Galleries
  • Infinite Scroll

If you'd like to work on support for one of these, but not all, go ahead and open a new issue and link to it from here.

Code Review of Icon Menu

I've added an "Icon Menu" which can be displayed above the content section. It uses a custom walker to apply the class set in the WordPress menu admin to the actual link.

If you set an icon class for a menu item, that icon will appear above the text link. These were the icons used in the original version of the theme:
.icon-calendar
.icon-gavel
.icon-bar
.icon-comment
.icon-envelope

The full list of available icons is here:
https://github.com/govfresh/govfreshwp/blob/master/fonts/font-awesome/font-awesome.css

The menu also has function to count the number of menu items and apply that as a class to the container so that widths can be applied via CSS.

This is perhaps the best method to do it. Perhaps not. Any recommendations would be appreciated.

How should visibility options be added? (e.g. only display on home page, only display on search page, etc.)

Should this functionality be moved into an add-in plugin instead? Is it too custom for general use?

Clicking on Main Nav Links Increases Pages' Font Size

GovPress version 1.2.1 is increasing the font size of CoolSmart.net's pages when the main navigation menu links are clicked when using the most current Chrome browser for Windows (version 36.0.1985.143 m).

The problem continues to occur after all WordPress plugins have been deactivated.

If the page is refreshed after clicking a main navigation menu link, the font size returns to normal.

This problem does not occur with the most recent versions of Firefox, Internet Explorer, Opera, and Safari.

Please let me know if you need additional information.

Your help is greatly appreciated.

Again, the site is http://www.coolsmart.net

Pages Sidebar Widget Question

Is there anyway to alter the code in the sidebar-page-parent.php file to make it so it only shows the first level of child pages? I have some pages that have children and grandchildren (is that the right wording for that?) and would only like to show the first level (or just the children, not the grandchildren).

Thanks!

Make post and page tags invisible

How can I make post and page tags invisible? I don't want them showing up either on the post or on the main blog page with the summaries.

Remove thumbnails

Getting feedback that thumbnails are great but not practical. Want simpler design.

Remove on:

  • index.php
  • page-home.php
  • archive.php
  • author.php

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.