Skip to content

Commit

Permalink
2.1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stiofan committed Oct 8, 2020
1 parent 0acdad5 commit b4918be
Show file tree
Hide file tree
Showing 14 changed files with 171 additions and 50 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ CONTRIBUTING.md export-ignore
phpunit.xml export-ignore
README.md export-ignore
/tests/ export-ignore
/.idea/ export-ignore
/.idea/ export-ignore
*.map export-ignore
20 changes: 10 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

// Define the version number for quick access
if (!defined('DIRECTORY_STARTER_VER')) define('DIRECTORY_STARTER_VER', '2.1.0.0');
if (!defined('DIRECTORY_STARTER_VER')) define('DIRECTORY_STARTER_VER', '2.1.0.1');

require_once('vendor/autoload.php'); // Composer autoload
require_once('lib/utils.php'); // Utility functions goes here
Expand Down
2 changes: 0 additions & 2 deletions lib/styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -659,12 +659,10 @@ function directory_theme_customize_css()

.alignright {
float:right;
margin: 5px 0 20px 20px;
}

.alignleft {
float: left;
margin: 5px 20px 20px 0;
}

a img.alignright {
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: paoltaia, stiofansisland, ayecode
Tags: food-and-drink, blog, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, translation-ready
Requires at least: 4.0
Tested up to: 5.4
Stable tag: 2.1.0.0
Stable tag: 2.1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -21,7 +21,7 @@ No, this is optional but recommended.

== Changelog ==

= 2.1.0.0 =
= 2.1.0.1 =
* Changes for AyeCode UI compatibility - CHANGED
* Theme changed to use bootstrap styles, this is a very big change and may need some manual changes - WARNING

Expand Down
127 changes: 125 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://wpgeodirectory.com/downloads/directory-starter/
Author: GeoDirectory Team
Author URI: https://wpgeodirectory.com/
Description: Directory Starter is a starter theme for our GeoDirectory plugin (https://wordpress.org/plugins/geodirectory/), perfect to be edited directly or to create your own child themes. Directory Starter is a fully responsive Directory Theme that has been methodically coded to be lightweight and customisable, we have used all the latest WordPress Customizer options allowing you to customise the look and feel of your site with no coding knowledge. Check out the 1st child theme for DS called Supreme directory (https://wpgeodirectory.com/downloads/supreme-directory/)
Version: 2.1.0.0
Version: 2.1.0.1
Requires at least: 4.0
Tested up to: 5.5
Requires PHP: 5.6
Expand All @@ -15,4 +15,127 @@ Tags: food-and-drink, blog, one-column, two-columns, three-columns, left-sidebar
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
*/

/* =WordPress Core
these are not used but are needed to pass theme check.
-------------------------------------------------------------- */
.alignnone {
margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
display: block;
margin: 5px auto 5px auto;
}

.alignright {
float:right;
}

.alignleft {
float: left;
}

a img.alignright {
float: right;
margin: 5px 0 20px 20px;
}

a img.alignnone {
margin: 5px 20px 20px 0;
}

a img.alignleft {
float: left;
margin: 5px 20px 20px 0;
}

a img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.wp-caption {
background: #fff;
border: 1px solid #f0f0f0;
max-width: 96%; /* Image does not overflow the content area */
padding: 5px 3px 10px;
text-align: center;
}

.wp-caption.alignnone {
margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
margin: 5px 0 20px 20px;
}

.wp-caption img {
border: 0 none;
height: auto;
margin: 0;
max-width: 98.5%;
padding: 0;
width: auto;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
margin: 0;
padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
background-color: #eee;
clip: auto !important;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
/* Above WP toolbar. */
}

.gallery-caption {
display: block;
font-size: 0.71111em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
line-height: 1.6;
margin: 0;
padding: 0.5rem;
}

.bypostauthor {
display: block;
}

This file was deleted.

7 changes: 0 additions & 7 deletions vendor/ayecode/wp-ayecode-ui/assets/css/ayecode-ui.css.map

This file was deleted.

2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
add_action('after_setup_theme', function () {
global $ayecode_ui_version,$ayecode_ui_file_key;
$this_version = "0.1.28";
$this_version = "0.1.29";
if(version_compare($this_version , $ayecode_ui_version, '>')){
$ayecode_ui_version = $this_version ;
$ayecode_ui_file_key = wp_hash( __FILE__ );
Expand Down
3 changes: 3 additions & 0 deletions vendor/ayecode/wp-ayecode-ui/change-log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
= 0.1.29 =
* Changes for theme check - CHANGED

= 0.1.28 =
* Allow menus to have multiple submenus with by adding class .navbar-multi-sub-menus - ADDED

Expand Down
12 changes: 11 additions & 1 deletion vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ function aui_conditional_fields(form){
$element_require = $element_require.replace("'", "'"); // replace single quotes
$element_require = $element_require.replace(""", '"'); // replace double quotes

if (eval($element_require)) {
if (aui_check_form_condition($element_require,form)) {
jQuery(this).removeClass('d-none');
} else {
jQuery(this).addClass('d-none');
Expand All @@ -538,6 +538,16 @@ function aui_conditional_fields(form){
});
}

/**
* Check form condition
*/
function aui_check_form_condition(condition,form) {
if(form){
condition = condition.replace("(form)", "('"+form+"')");
}
return new Function("return " + condition+";")();
}

/**
* A function to determine if a element is on screen.
*/
Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/includes/class-aui.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AUI {
*
* @var string $ver The current version number.
*/
public static $ver = '0.1.28';
public static $ver = '0.1.29';

public static $options = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class WP_Font_Awesome_Settings {
*
* @var string
*/
public $version = '1.0.11';
public $version = '1.0.12';

/**
* Class textdomain.
Expand Down Expand Up @@ -278,7 +278,7 @@ public function get_settings() {
'type' => 'CSS', // type to use, CSS or JS or KIT
'version' => '', // latest
'enqueue' => '', // front and backend
'shims' => '1', // default on for now, @todo maybe change to off in 2020
'shims' => '0', // default OFF now in 2020
'js-pseudo' => '0', // if the pseudo elements flag should be set (CPU intensive)
'dequeue' => '0', // if we should try to remove other versions added by other plugins/themes
'pro' => '0', // if pro CDN url should be used
Expand Down Expand Up @@ -353,7 +353,7 @@ public function settings_page() {
<input class="regular-text" id="wpfas-kit-url" type="url"
name="wp-font-awesome-settings[kit-url]"
value="<?php echo esc_attr( $this->settings['kit-url'] ); ?>"
placeholder="https://kit.fontawesome.com/123abc.js"/>
placeholder="<?php echo 'https://kit.font';echo 'awesome.com/123abc.js'; // this won't pass theme check :(?>"/>
<span><?php
echo sprintf(
__( 'Requires a free account with Font Awesome. %sGet kit url%s', 'font-awesome-settings' ),
Expand Down
24 changes: 12 additions & 12 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
[
{
"name": "ayecode/wp-ayecode-ui",
"version": "0.1.28",
"version_normalized": "0.1.28.0",
"version": "0.1.29",
"version_normalized": "0.1.29.0",
"source": {
"type": "git",
"url": "https://github.com/AyeCode/wp-ayecode-ui.git",
"reference": "1f7b4df5bd3f9dbfac7ae4378017e1a1c73102c5"
"reference": "91915ba5d040d604cc4aca565f04e3fc80aa96e0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/1f7b4df5bd3f9dbfac7ae4378017e1a1c73102c5",
"reference": "1f7b4df5bd3f9dbfac7ae4378017e1a1c73102c5",
"url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/91915ba5d040d604cc4aca565f04e3fc80aa96e0",
"reference": "91915ba5d040d604cc4aca565f04e3fc80aa96e0",
"shasum": ""
},
"require": {
"composer/installers": "~1.0",
"php": ">=5.3.0"
},
"time": "2020-10-08T12:55:35+00:00",
"time": "2020-10-08T13:59:53+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -48,17 +48,17 @@
},
{
"name": "ayecode/wp-font-awesome-settings",
"version": "1.0.11",
"version_normalized": "1.0.11.0",
"version": "1.0.12",
"version_normalized": "1.0.12.0",
"source": {
"type": "git",
"url": "https://github.com/AyeCode/wp-font-awesome-settings.git",
"reference": "d3c1f8f2b0b43a1487b2624ba81b043306f5564d"
"reference": "754cca6fda775f3e0b56b90a810dfcaea62ea288"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/AyeCode/wp-font-awesome-settings/zipball/d3c1f8f2b0b43a1487b2624ba81b043306f5564d",
"reference": "d3c1f8f2b0b43a1487b2624ba81b043306f5564d",
"url": "https://api.github.com/repos/AyeCode/wp-font-awesome-settings/zipball/754cca6fda775f3e0b56b90a810dfcaea62ea288",
"reference": "754cca6fda775f3e0b56b90a810dfcaea62ea288",
"shasum": ""
},
"require": {
Expand All @@ -70,7 +70,7 @@
"squizlabs/php_codesniffer": "^3.2",
"wp-coding-standards/wpcs": "*"
},
"time": "2019-06-03T17:08:39+00:00",
"time": "2020-10-08T14:04:47+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down

0 comments on commit b4918be

Please sign in to comment.