Skip to content
Permalink
Browse files

img Alt attribute in acajou_modify_post_thumbnail_html()

  • Loading branch information...
samuelguebo committed Sep 28, 2017
1 parent 133322c commit 98fb6174e3795325714ac7e323428a7ff50ee023
Showing with 29,950 additions and 29,950 deletions.
  1. +9 −9 404.php
  2. +28 −28 CHANGELOG.md
  3. +339 −339 LICENSE.txt
  4. +92 −92 README.md
  5. +61 −61 archive.php
  6. +116 −116 comments.php
  7. +5 −5 css/font-awesome.min.css
  8. +6 −6 css/font-awesome.min.css.map
  9. +6 −6 css/fontello.css.map
  10. +7,442 −7,442 css/foundation.css
  11. +6 −6 css/foundation.css.map
  12. +2 −2 css/normalize.min.css
  13. +6 −6 css/normalize.min.css.map
  14. +1,318 −1,318 css/style-blue.css
  15. +6 −6 css/style-blue.css.map
  16. +1,318 −1,318 css/style-green.css
  17. +6 −6 css/style-green.css.map
  18. +1,318 −1,318 css/style-purple.css
  19. +6 −6 css/style-purple.css.map
  20. +1,318 −1,318 css/style-red.css
  21. +6 −6 css/style-red.css.map
  22. +1,318 −1,318 css/style-yellow.css
  23. +6 −6 css/style-yellow.css.map
  24. +1,380 −1,380 css/style.css
  25. +6 −6 css/style.css.map
  26. +34 −34 footer.php
  27. +188 −188 functions.php
  28. +90 −90 header.php
  29. +111 −111 inc/class-palette_custom_control.php
  30. +129 −129 inc/customizer-sanitize.php
  31. +109 −109 inc/customizer.php
  32. +386 −386 inc/extras.php
  33. +41 −41 inc/jetpack.php
  34. +59 −59 index.php
  35. +20 −20 js/customizer.js
  36. +20 −20 js/foundation.min.js
  37. +4 −4 js/jquery.min.js
  38. +5 −5 js/mediaquery.min.js
  39. +109 −109 js/scripts.js
  40. +434 −434 js/typed.js
  41. +387 −387 languages/acajou.pot
  42. +387 −387 languages/es_ES.po
  43. +387 −387 languages/fr_FR.po
  44. +17 −17 menu-social.php
  45. +38 −38 menu.php
  46. +33 −33 page.php
  47. +40 −40 readme.txt
  48. +1,457 −1,457 scss/_base.scss
  49. +2,330 −2,330 scss/font-awesome.min.scss
  50. +6,580 −6,580 scss/foundation.scss
  51. +7 −7 scss/style-blue.scss
  52. +7 −7 scss/style-green.scss
  53. +7 −7 scss/style-purple.scss
  54. +7 −7 scss/style-red.scss
  55. +7 −7 scss/style-yellow.scss
  56. +88 −88 scss/style.scss
  57. +9 −9 search.php
  58. +21 −21 searchform.php
  59. +17 −17 sidebar.php
  60. +28 −28 single.php
  61. +24 −24 style.css
  62. +26 −26 template-parts/content-404.php
  63. +26 −26 template-parts/content-article-without-thumb.php
  64. +36 −36 template-parts/content-article.php
  65. +37 −37 template-parts/content-page.php
  66. +84 −84 template-parts/content-single.php
18 404.php
@@ -1,10 +1,10 @@
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Acajou
*/
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Acajou
*/
get_template_part('archive'); ?>
@@ -1,28 +1,28 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.5] - 2017-06-013
- fixing sanitizing bug notified by [Smarciz](https://github.com/samuelguebo/acajou/issues/1)
## [1.0.4] - 2017-06-04
- updating tags: adding Abidjan, Côte d'Ivoire, Ivory coast, etc

## [1.0.3] - 2017-05-26
- fixing breadcrumbs line-height
- fixing page.php and single.php not displaying due to php compilation error
- fixing translation issue, update .pot files
## [1.0.2] - 2017-04-12
- adding missing licenses
## [1.0.1] - 2017-04-12
- Cross-check Licenses
- Use the_posts_pagination(); for multiple-post pages and the_post_navigation(); for single - Themes now supports the default of 3 columns as well as various column styles.
- Fixing captioned image alignement.
- Adding custom social menu

## [1.0.0] - 2016-12-30
### Added
- Custom header image(s)
- Set social links in Customizer
- Six flavors: chocolate, blue, green, red, purple, and yellow. You might switch between these colors in using the Customizer.
- Add Fading effects to block using [Scroll Reveal](https://github.com/jlmakes/scrollreveal) library
- Typing animation using [Typed.js](https://github.com/mattboldt/typed.js/)
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.5] - 2017-06-013
- fixing sanitizing bug notified by [Smarciz](https://github.com/samuelguebo/acajou/issues/1)
## [1.0.4] - 2017-06-04
- updating tags: adding Abidjan, Côte d'Ivoire, Ivory coast, etc

## [1.0.3] - 2017-05-26
- fixing breadcrumbs line-height
- fixing page.php and single.php not displaying due to php compilation error
- fixing translation issue, update .pot files
## [1.0.2] - 2017-04-12
- adding missing licenses
## [1.0.1] - 2017-04-12
- Cross-check Licenses
- Use the_posts_pagination(); for multiple-post pages and the_post_navigation(); for single - Themes now supports the default of 3 columns as well as various column styles.
- Fixing captioned image alignement.
- Adding custom social menu

## [1.0.0] - 2016-12-30
### Added
- Custom header image(s)
- Set social links in Customizer
- Six flavors: chocolate, blue, green, red, purple, and yellow. You might switch between these colors in using the Customizer.
- Add Fading effects to block using [Scroll Reveal](https://github.com/jlmakes/scrollreveal) library
- Typing animation using [Typed.js](https://github.com/mattboldt/typed.js/)

Large diffs are not rendered by default.

184 README.md
@@ -1,93 +1,93 @@
# Acajou
A minimalist woodstyle theme for WordPress.

[![acajou_top.png](https://s6.postimg.org/pfvhdmpr5/acajou_top.png)](https://postimg.org/image/zd6i6oxct/)
## Description

Acajou is a clean, simple, and fully responsive WordPress theme that feels like wood and looks awesome on any device. Its name, pronounced ***/a.kaˈʒu/*** in French, refers to a tree from tropical forests.

It adjusts automatically to any screen size including tablets and smartphones as well as Retina displays. Theme is built using [Zurb Foundation](https://github.com/zurb/foundation-sites), a framework for HTML5 / CSS3 which is SEO friendly. This WordPress theme was built with blogs and creative portfolios in mind but be creative and unleash its full potential in eCommerce, business and other projects. Acajou is available in English, French, and Spanish for now.

## Installation

#### Manual

1. Download theme by using "Download zip" button on the right side and unzip it.
2. Upload the **acajou** folder to the **/wp-content/themes/** directory
3. Activate the Theme through the Apperance - Themes menu in WordPress
4. See **Appearance -> Customize** to change theme specific options.

#### WordPress Admin Panel

1. Download theme by using "Download zip" button on the right side
2. Go to **Appearance > Themes**
3. Click on **Add New**
4. Click on **Upload Theme**
5. Choose the **acajou.zip** file
6. Click on **Install Now**


## Adapting existing content
If you already have menus and widgets on the website, you need to do this after finishing the theme activation process:

1. Go to **Appearance > Menus** and update theme locations
2. Go to **Appearance > Widgets** and add old widgets to new sidebars

If you already have uploaded images on the website, you should regenerate thumbnails. To do that you can install [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) plugin.

If you didn't use featured images you can install the [Easy Add Thumbnail](http://wordpress.org/plugins/easy-add-thumbnail/) plugin to dinamically set featured images for old published posts.


## Customization

This theme has loads of customization options available. To open WordPress Customizer go to **Appearance > Customize**. There you will find the following sections:
#### Header
Change the header image. It might support a random image list.
#### Social links
Set the link for Facebook, Twitter, youtube and other social networks.

#### Colors
Acajou comes with six flavors: chocolate, blue, green, red, purple, and yellow. You might switch between these colors in using the Customizer.
[![acajou_theme_showcase.jpg](https://s6.postimg.org/p9hsajgm9/acajou_theme_showcase.jpg)](https://postimg.org/image/5rn4uljod/).


## File structure
In this theme we are using a default [WordPress template hierarchy](http://codex.wordpress.org/Template_Hierarchy).

**/css/** - Style(CSS) files.

**/scss/** - [SASS](http://sass-lang.com) files for those that are comfortable with CSS preprocessors.

**/inc/** - Includes custom logics that are non-standard to WordPress.

**/js/** - Theme javascript files.


## License

This theme is based on Underscore WordPress theme by Theme Horse.

The theme is released for free under the terms of the GNU General Public License version 2
and some parts under their respective licenses.
In general words, feel free and encouraged to use, modify and redistribute this theme however you like.
You may remove any copyright references (unless required by third party components) and crediting is not necessary.
The theme is offered free of charge. If someone asked money for it, someone just tricked you.

Unless otherwise specified, all the theme files, scripts and images are licensed under [GNU General Public License version 2](http://github.com/samuelguebo/acajou/LICENSE).

**The exceptions to this license are as follows:**

- [Zurb Foundation](https://github.com/zurb/foundation-sites),for layout structure, under MIT License.
- [Arvo](https://github.com/FortAwesome/Font-Awesome), [FontAwesome](https://github.com/FortAwesome/Font-Awesome), under the SIL Open Font License.

- [Commons images](https:commons.wikimedia.org), under Creative Commons By SA 4.0 License
- [ScrollReveal](https://github.com/jlmakes/scrollreveal), under MIT License.
- [Typed.js](https://github.com/mattboldt/typed.js/), under MIT License.
- [Roboto](https://github.com/google/roboto), under Apache License 2.0 License.


# Change log
All notable changes to this theme are documented in [CHANGELOG.md](https://github.com/samuelguebo/acajou/blob/master/CHANGELOG.md) file.

# Contributors
# Acajou
A minimalist woodstyle theme for WordPress.

[![acajou_top.png](https://s6.postimg.org/pfvhdmpr5/acajou_top.png)](https://postimg.org/image/zd6i6oxct/)
## Description

Acajou is a clean, simple, and fully responsive WordPress theme that feels like wood and looks awesome on any device. Its name, pronounced ***/a.kaˈʒu/*** in French, refers to a tree from tropical forests.

It adjusts automatically to any screen size including tablets and smartphones as well as Retina displays. Theme is built using [Zurb Foundation](https://github.com/zurb/foundation-sites), a framework for HTML5 / CSS3 which is SEO friendly. This WordPress theme was built with blogs and creative portfolios in mind but be creative and unleash its full potential in eCommerce, business and other projects. Acajou is available in English, French, and Spanish for now.

## Installation

#### Manual

1. Download theme by using "Download zip" button on the right side and unzip it.
2. Upload the **acajou** folder to the **/wp-content/themes/** directory
3. Activate the Theme through the Apperance - Themes menu in WordPress
4. See **Appearance -> Customize** to change theme specific options.

#### WordPress Admin Panel

1. Download theme by using "Download zip" button on the right side
2. Go to **Appearance > Themes**
3. Click on **Add New**
4. Click on **Upload Theme**
5. Choose the **acajou.zip** file
6. Click on **Install Now**


## Adapting existing content
If you already have menus and widgets on the website, you need to do this after finishing the theme activation process:

1. Go to **Appearance > Menus** and update theme locations
2. Go to **Appearance > Widgets** and add old widgets to new sidebars

If you already have uploaded images on the website, you should regenerate thumbnails. To do that you can install [Regenerate Thumbnails](http://wordpress.org/plugins/regenerate-thumbnails/) plugin.

If you didn't use featured images you can install the [Easy Add Thumbnail](http://wordpress.org/plugins/easy-add-thumbnail/) plugin to dinamically set featured images for old published posts.


## Customization

This theme has loads of customization options available. To open WordPress Customizer go to **Appearance > Customize**. There you will find the following sections:
#### Header
Change the header image. It might support a random image list.
#### Social links
Set the link for Facebook, Twitter, youtube and other social networks.

#### Colors
Acajou comes with six flavors: chocolate, blue, green, red, purple, and yellow. You might switch between these colors in using the Customizer.
[![acajou_theme_showcase.jpg](https://s6.postimg.org/p9hsajgm9/acajou_theme_showcase.jpg)](https://postimg.org/image/5rn4uljod/).


## File structure
In this theme we are using a default [WordPress template hierarchy](http://codex.wordpress.org/Template_Hierarchy).

**/css/** - Style(CSS) files.

**/scss/** - [SASS](http://sass-lang.com) files for those that are comfortable with CSS preprocessors.

**/inc/** - Includes custom logics that are non-standard to WordPress.

**/js/** - Theme javascript files.


## License

This theme is based on Underscore WordPress theme by Theme Horse.

The theme is released for free under the terms of the GNU General Public License version 2
and some parts under their respective licenses.
In general words, feel free and encouraged to use, modify and redistribute this theme however you like.
You may remove any copyright references (unless required by third party components) and crediting is not necessary.
The theme is offered free of charge. If someone asked money for it, someone just tricked you.

Unless otherwise specified, all the theme files, scripts and images are licensed under [GNU General Public License version 2](http://github.com/samuelguebo/acajou/LICENSE).

**The exceptions to this license are as follows:**

- [Zurb Foundation](https://github.com/zurb/foundation-sites),for layout structure, under MIT License.
- [Arvo](https://github.com/FortAwesome/Font-Awesome), [FontAwesome](https://github.com/FortAwesome/Font-Awesome), under the SIL Open Font License.

- [Commons images](https:commons.wikimedia.org), under Creative Commons By SA 4.0 License
- [ScrollReveal](https://github.com/jlmakes/scrollreveal), under MIT License.
- [Typed.js](https://github.com/mattboldt/typed.js/), under MIT License.
- [Roboto](https://github.com/google/roboto), under Apache License 2.0 License.


# Change log
All notable changes to this theme are documented in [CHANGELOG.md](https://github.com/samuelguebo/acajou/blob/master/CHANGELOG.md) file.

# Contributors
* Samuel Gu&eacute;bo ([@samuelguebo](http://twitter.com/samuelguebo))
@@ -1,61 +1,61 @@
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Acajou
*/
get_header(); ?>

<section class="category-row row">
<section id="breadcrumbs">
<div class="breadcrumbs row">
<?php if (function_exists('acajou_custom_breadcrumbs')) acajou_custom_breadcrumbs(); ?>
</div>
</section>

<!-- post list-->
<section class="large-9 columns main-column">
<h1 class="category-title"><?php the_archive_title(); ?></h1>
<div class="category-title-line large-2 large-centered columns"></div>
<div class="post-list clearfix">
<?php
if ( have_posts() ) :
/* Start the Loop */
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; // for pagination purpose
while ( have_posts() ) : the_post();
if(has_post_thumbnail()){
get_template_part( 'template-parts/content', 'article' );
}else {
get_template_part( 'template-parts/content', 'article-without-thumb' );
}
endwhile;
else :
get_template_part( 'template-parts/content', '404' );
endif; ?>
</div>
<div class="pagination-wrapper columns large-4 large-centered" >
<?php the_posts_pagination( array(
'mid_size' => 2,
'prev_text' => __( '&laquo;', 'acajou' ),
'next_text' => __( '&raquo;', 'acajou' ),
'screen_reader_text' => ' '
) ); ?>
</div>
</section>
<?php get_sidebar();?>
</section>
<?php
get_footer();
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Acajou
*/
get_header(); ?>

<section class="category-row row">
<section id="breadcrumbs">
<div class="breadcrumbs row">
<?php if (function_exists('acajou_custom_breadcrumbs')) acajou_custom_breadcrumbs(); ?>
</div>
</section>

<!-- post list-->
<section class="large-9 columns main-column">
<h1 class="category-title"><?php the_archive_title(); ?></h1>
<div class="category-title-line large-2 large-centered columns"></div>
<div class="post-list clearfix">
<?php
if ( have_posts() ) :
/* Start the Loop */
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; // for pagination purpose
while ( have_posts() ) : the_post();
if(has_post_thumbnail()){
get_template_part( 'template-parts/content', 'article' );
}else {
get_template_part( 'template-parts/content', 'article-without-thumb' );
}
endwhile;
else :
get_template_part( 'template-parts/content', '404' );
endif; ?>
</div>
<div class="pagination-wrapper columns large-4 large-centered" >
<?php the_posts_pagination( array(
'mid_size' => 2,
'prev_text' => __( '&laquo;', 'acajou' ),
'next_text' => __( '&raquo;', 'acajou' ),
'screen_reader_text' => ' '
) ); ?>
</div>
</section>
<?php get_sidebar();?>
</section>
<?php
get_footer();

0 comments on commit 98fb617

Please sign in to comment.
You can’t perform that action at this time.