Skip to content

Commit

Permalink
Removed extra file
Browse files Browse the repository at this point in the history
  • Loading branch information
Odyno committed Jan 1, 2017
1 parent 204af2f commit 73b488e
Show file tree
Hide file tree
Showing 23 changed files with 81 additions and 10,248 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/css/partials export-ignore
/**/*.scss export-ignore
/**/*.coffee export-ignore
/deploy.sh export-ignore
/deploy.sh export-ignore
/node_modules export-ignore
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ wp-content/plugins/hello.php
/readme.html
/sitemap.xml
/sitemap.xml.gz
/node_modules/

37 changes: 25 additions & 12 deletions admin/svt-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

class SVT_Settings {

const OPTION_IS_ENABLED_SOLCIAL_MEDIA="svt_is_enable_social_media";
const OPTION_SIGNE = 'svt_signe';
const OPTION_ANALITYCS = 'svt_analitycs';
const PAGE_SETTING = 'svt_settings';
Expand Down Expand Up @@ -64,23 +65,35 @@ public function add_setting_link( $actions, $file ) {


public function register_settings_sections() {
//$this->add_section_description();
$this->add_section_socialmedia();
$this->add_section_adv();

}

//NOT USED
public function add_section_description() {
//Build new Section
add_settings_section(
SVT_Settings::PAGE_SETTING . "_DESCRIPTION", //String for use in the 'id' attribute of tags.
__( '', 'svt' ), //Title of the section
array(
$this,
'get_HTML_Description_Page'
), //Function that fills the section with the desired content. The function should echo its output.
SVT_Settings::PAGE_ID //The type of settings page on which to show the section
);
public function add_section_socialmedia() {
add_settings_section(
SVT_Settings::PAGE_SETTING . "_SocialMedia", //String for use in the 'id' attribute of tags.
__( '', 'svt' ), //Title of the section
function ($args){
_e( '', 'svt');
}, //Function that fills the section with the desired content. The function should echo its output.
SVT_Settings::PAGE_ID //The type of settings page on which to show the section
);


add_settings_field(
SVT_Settings::OPTION_IS_ENABLED_SOLCIAL_MEDIA, //String for use in the 'id' attribute of tags.
__( 'Show extra social media sharing icons', 'svt' ), // Title of the field.
function ($args){
echo ' <input name="'.SVT_Settings::OPTION_IS_ENABLED_SOLCIAL_MEDIA.'" value="1" type="checkbox" class="code" ' . checked( 1, get_option( SVT_Settings::OPTION_IS_ENABLED_SOLCIAL_MEDIA ), false ) . ' />';
}, //Function that fills the field with the desired inputs as part of the larger form. Name and id of the input should match the $id given to this function. The function should echo its output.
SVT_Settings::PAGE_ID, //The type of settings page on which to show the field
SVT_Settings::PAGE_SETTING . "_SocialMedia" //The section of the settings page in which to show the box (default or a section you added with add_settings_section, look at the page in the source to see what the existing ones are.
);

register_setting( SVT_Settings::PAGE_SETTING, SVT_Settings::OPTION_IS_ENABLED_SOLCIAL_MEDIA );

}


Expand Down
8 changes: 4 additions & 4 deletions css/simple-vertical-timeline.css

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

2 changes: 1 addition & 1 deletion css/simple-vertical-timeline.css.map

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

2 changes: 1 addition & 1 deletion css/simple-vertical-timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Modules - reusable parts of our design
}
}

#svt-cd-timeline {
.svt-cd-timeline {
position: relative;
padding: 2em 0;
margin: {
Expand Down
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ echo "Ignoring github specific files and deployment script"
svn propset svn:ignore "deploy.sh
README.md
.git
.gitignore" "$SVNPATH/trunk/"
.gitignore
node_modules" "$SVNPATH/trunk/"

echo "Changing directory to SVN and committing to trunk"
cd $SVNPATH/trunk/
Expand Down
5 changes: 0 additions & 5 deletions img/linearicons/Read Me.txt

This file was deleted.

150 changes: 0 additions & 150 deletions img/linearicons/demo-files/demo.css

This file was deleted.

Loading

0 comments on commit 73b488e

Please sign in to comment.