Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
noblogs-wp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
noblogs-wp
Commits
b3738fd5
Commit
b3738fd5
authored
Jul 09, 2012
by
lucha
Committed by
lechuck
Sep 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Thematic theme 1.0.2.1
parent
bed3222e
Changes
77
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
77 changed files
with
11687 additions
and
5549 deletions
+11687
-5549
wp-content/themes/thematic/404.php
wp-content/themes/thematic/404.php
+48
-34
wp-content/themes/thematic/archive.php
wp-content/themes/thematic/archive.php
+54
-41
wp-content/themes/thematic/archives.php
wp-content/themes/thematic/archives.php
+20
-89
wp-content/themes/thematic/attachment.php
wp-content/themes/thematic/attachment.php
+76
-65
wp-content/themes/thematic/author.php
wp-content/themes/thematic/author.php
+94
-75
wp-content/themes/thematic/category.php
wp-content/themes/thematic/category.php
+53
-44
wp-content/themes/thematic/comments.php
wp-content/themes/thematic/comments.php
+213
-130
wp-content/themes/thematic/footer.php
wp-content/themes/thematic/footer.php
+49
-39
wp-content/themes/thematic/functions.php
wp-content/themes/thematic/functions.php
+237
-121
wp-content/themes/thematic/header.php
wp-content/themes/thematic/header.php
+80
-73
wp-content/themes/thematic/index.php
wp-content/themes/thematic/index.php
+43
-31
wp-content/themes/thematic/library/extensions/comments-extensions.php
...hemes/thematic/library/extensions/comments-extensions.php
+169
-64
wp-content/themes/thematic/library/extensions/content-extensions.php
...themes/thematic/library/extensions/content-extensions.php
+1042
-402
wp-content/themes/thematic/library/extensions/discussion-extensions.php
...mes/thematic/library/extensions/discussion-extensions.php
+31
-11
wp-content/themes/thematic/library/extensions/discussion.php
wp-content/themes/thematic/library/extensions/discussion.php
+83
-25
wp-content/themes/thematic/library/extensions/dynamic-classes.php
...nt/themes/thematic/library/extensions/dynamic-classes.php
+155
-120
wp-content/themes/thematic/library/extensions/footer-extensions.php
.../themes/thematic/library/extensions/footer-extensions.php
+138
-72
wp-content/themes/thematic/library/extensions/header-extensions.php
.../themes/thematic/library/extensions/header-extensions.php
+513
-369
wp-content/themes/thematic/library/extensions/helpers.php
wp-content/themes/thematic/library/extensions/helpers.php
+70
-28
wp-content/themes/thematic/library/extensions/shortcodes.php
wp-content/themes/thematic/library/extensions/shortcodes.php
+109
-45
wp-content/themes/thematic/library/extensions/sidebar-extensions.php
...themes/thematic/library/extensions/sidebar-extensions.php
+512
-283
wp-content/themes/thematic/library/extensions/theme-options.php
...tent/themes/thematic/library/extensions/theme-options.php
+358
-278
wp-content/themes/thematic/library/extensions/widgets-extensions.php
...themes/thematic/library/extensions/widgets-extensions.php
+307
-169
wp-content/themes/thematic/library/extensions/widgets.php
wp-content/themes/thematic/library/extensions/widgets.php
+35
-34
wp-content/themes/thematic/library/languages/da_DK.po
wp-content/themes/thematic/library/languages/da_DK.po
+351
-311
wp-content/themes/thematic/library/languages/de_DE.mo
wp-content/themes/thematic/library/languages/de_DE.mo
+0
-0
wp-content/themes/thematic/library/languages/de_DE.po
wp-content/themes/thematic/library/languages/de_DE.po
+531
-247
wp-content/themes/thematic/library/languages/es_ES.mo
wp-content/themes/thematic/library/languages/es_ES.mo
+0
-0
wp-content/themes/thematic/library/languages/es_ES.po
wp-content/themes/thematic/library/languages/es_ES.po
+200
-152
wp-content/themes/thematic/library/languages/fa_IR.mo
wp-content/themes/thematic/library/languages/fa_IR.mo
+0
-0
wp-content/themes/thematic/library/languages/fa_IR.po
wp-content/themes/thematic/library/languages/fa_IR.po
+501
-0
wp-content/themes/thematic/library/languages/fr_FR.mo
wp-content/themes/thematic/library/languages/fr_FR.mo
+0
-0
wp-content/themes/thematic/library/languages/fr_FR.po
wp-content/themes/thematic/library/languages/fr_FR.po
+364
-226
wp-content/themes/thematic/library/languages/he_IL.mo
wp-content/themes/thematic/library/languages/he_IL.mo
+0
-0
wp-content/themes/thematic/library/languages/he_IL.po
wp-content/themes/thematic/library/languages/he_IL.po
+561
-0
wp-content/themes/thematic/library/languages/is_IS.mo
wp-content/themes/thematic/library/languages/is_IS.mo
+0
-0
wp-content/themes/thematic/library/languages/is_IS.po
wp-content/themes/thematic/library/languages/is_IS.po
+480
-0
wp-content/themes/thematic/library/languages/lt.mo
wp-content/themes/thematic/library/languages/lt.mo
+0
-0
wp-content/themes/thematic/library/languages/lt.po
wp-content/themes/thematic/library/languages/lt.po
+561
-0
wp-content/themes/thematic/library/languages/pl_PL.po
wp-content/themes/thematic/library/languages/pl_PL.po
+376
-306
wp-content/themes/thematic/library/languages/pt_BR.mo
wp-content/themes/thematic/library/languages/pt_BR.mo
+0
-0
wp-content/themes/thematic/library/languages/pt_BR.po
wp-content/themes/thematic/library/languages/pt_BR.po
+335
-598
wp-content/themes/thematic/library/languages/sv_SE.mo
wp-content/themes/thematic/library/languages/sv_SE.mo
+0
-0
wp-content/themes/thematic/library/languages/sv_SE.po
wp-content/themes/thematic/library/languages/sv_SE.po
+400
-320
wp-content/themes/thematic/library/languages/thematic.mo
wp-content/themes/thematic/library/languages/thematic.mo
+0
-0
wp-content/themes/thematic/library/languages/thematic.pot
wp-content/themes/thematic/library/languages/thematic.pot
+442
-206
wp-content/themes/thematic/library/languages/tr_TR.mo
wp-content/themes/thematic/library/languages/tr_TR.mo
+0
-0
wp-content/themes/thematic/library/languages/tr_TR.po
wp-content/themes/thematic/library/languages/tr_TR.po
+561
-0
wp-content/themes/thematic/library/layouts/2c-l-fixed.css
wp-content/themes/thematic/library/layouts/2c-l-fixed.css
+1
-1
wp-content/themes/thematic/library/legacy/deprecated.php
wp-content/themes/thematic/library/legacy/deprecated.php
+274
-7
wp-content/themes/thematic/library/styles/default.css
wp-content/themes/thematic/library/styles/default.css
+72
-144
wp-content/themes/thematic/library/styles/images.css
wp-content/themes/thematic/library/styles/images.css
+36
-4
wp-content/themes/thematic/library/styles/menu.css
wp-content/themes/thematic/library/styles/menu.css
+126
-0
wp-content/themes/thematic/library/styles/plugins.css
wp-content/themes/thematic/library/styles/plugins.css
+36
-1
wp-content/themes/thematic/links.php
wp-content/themes/thematic/links.php
+49
-61
wp-content/themes/thematic/page.php
wp-content/themes/thematic/page.php
+50
-44
wp-content/themes/thematic/readme.html
wp-content/themes/thematic/readme.html
+9
-14
wp-content/themes/thematic/readme.txt
wp-content/themes/thematic/readme.txt
+377
-0
wp-content/themes/thematic/search.php
wp-content/themes/thematic/search.php
+41
-23
wp-content/themes/thematic/searchform.php
wp-content/themes/thematic/searchform.php
+8
-1
wp-content/themes/thematic/sidebar-index-bottom.php
wp-content/themes/thematic/sidebar-index-bottom.php
+10
-3
wp-content/themes/thematic/sidebar-index-insert.php
wp-content/themes/thematic/sidebar-index-insert.php
+10
-3
wp-content/themes/thematic/sidebar-index-top.php
wp-content/themes/thematic/sidebar-index-top.php
+10
-3
wp-content/themes/thematic/sidebar-page-bottom.php
wp-content/themes/thematic/sidebar-page-bottom.php
+9
-2
wp-content/themes/thematic/sidebar-page-top.php
wp-content/themes/thematic/sidebar-page-top.php
+9
-2
wp-content/themes/thematic/sidebar-single-bottom.php
wp-content/themes/thematic/sidebar-single-bottom.php
+10
-3
wp-content/themes/thematic/sidebar-single-insert.php
wp-content/themes/thematic/sidebar-single-insert.php
+11
-4
wp-content/themes/thematic/sidebar-single-top.php
wp-content/themes/thematic/sidebar-single-top.php
+10
-3
wp-content/themes/thematic/sidebar.php
wp-content/themes/thematic/sidebar.php
+10
-3
wp-content/themes/thematic/single.php
wp-content/themes/thematic/single.php
+26
-15
wp-content/themes/thematic/style.css
wp-content/themes/thematic/style.css
+7
-3
wp-content/themes/thematic/tag.php
wp-content/themes/thematic/tag.php
+23
-14
wp-content/themes/thematic/template-page-archives.php
wp-content/themes/thematic/template-page-archives.php
+96
-0
wp-content/themes/thematic/template-page-blog.php
wp-content/themes/thematic/template-page-blog.php
+84
-70
wp-content/themes/thematic/template-page-fullwidth.php
wp-content/themes/thematic/template-page-fullwidth.php
+95
-90
wp-content/themes/thematic/thematicsamplechildtheme/functions.php
...nt/themes/thematic/thematicsamplechildtheme/functions.php
+28
-20
wp-content/themes/thematic/thematicsamplechildtheme/style.css
...ontent/themes/thematic/thematicsamplechildtheme/style.css
+8
-3
No files found.
wp-content/themes/thematic/404.php
View file @
b3738fd5
<?php
/**
* Error 404 Page Template
*
* Displays a "Not Found" message and a search form when a 404 Error is encountered.
*
* @package Thematic
* @subpackage Templates
*
* @link http://codex.wordpress.org/Creating_an_Error_404_Page Codex: Create a 404 Page
*/
@
header
(
"HTTP/1.1 404 Not found"
,
true
,
404
);
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
?>
<div
id=
"container"
>
<?php
thematic_abovecontent
();
?>
<div
id=
"content"
>
<?php
thematic_abovepost
();
?>
<?php
// action hook for placing content above #content
thematic_abovecontent
();
// filter for manipulating the element that wraps the content
echo
apply_filters
(
'thematic_open_id_content'
,
'<div id="content">'
.
"
\n\n
"
);
// action hook for placing content above #post
thematic_abovepost
();
?>
<div
id=
"post-0"
class=
"post error404"
>
<?php
// action hook for the 404 content
thematic_404
()
// action hook for placing the 404 content
thematic_404
()
?>
</div>
<!-- .post -->
<?php
thematic_belowpost
();
?>
<?php
// action hook for placing content below #post
thematic_belowpost
();
?>
</div>
<!-- #content -->
<?php
thematic_belowcontent
();
?>
<?php
// action hook for placing content below #content
thematic_belowcontent
();
?>
</div>
<!-- #container -->
<?php
// action hook for placing content below #container
thematic_belowcontainer
();
// action hook for placing content below #container
thematic_belowcontainer
();
// calling the standard sidebar
thematic_sidebar
();
// calling footer.php
get_footer
();
// calling the standard sidebar
thematic_sidebar
();
// calling footer.php
get_footer
();
?>
\ No newline at end of file
wp-content/themes/thematic/archive.php
View file @
b3738fd5
<?php
/**
* Archive Template
*
* Displays an Archive index of post-type items. Other more specific archive templates
* may override the display of this template for example the category.php.
*
* @package Thematic
* @subpackage Templates
*
* @link http://codex.wordpress.org/Template_Hierarchy Codex: Template Hierarchy
*/
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
?>
<div
id=
"container"
>
<?php
thematic_abovecontent
();
?>
<div
id=
"content"
>
<?php
the_post
();
// displays the page title
thematic_page_title
();
rewind_posts
();
// create the navigation above the content
thematic_navigation_above
();
// action hook creating the archive loop
thematic_archiveloop
();
// create the navigation below the content
thematic_navigation_below
();
?>
<?php
// action hook for placing content above #content
thematic_abovecontent
();
// filter for manipulating the element that wraps the content
echo
apply_filters
(
'thematic_open_id_content'
,
'<div id="content">'
.
"
\n\n
"
);
// displays the page title
thematic_page_title
();
// create the navigation above the content
thematic_navigation_above
();
// action hook for placing content above the archive loop
thematic_above_archiveloop
();
// action hook creating the archive loop
thematic_archiveloop
();
// action hook for placing content below the archive loop
thematic_below_archiveloop
();
// create the navigation below the content
thematic_navigation_below
();
?>
</div>
<!-- #content -->
<?php
thematic_belowcontent
();
?>
<?php
// action hook for placing content below #content
thematic_belowcontent
();
?>
</div>
<!-- #container -->
<?php
// action hook for placing content below #container
thematic_belowcontainer
();
// action hook for placing content below #container
thematic_belowcontainer
();
// calling the standard sidebar
thematic_sidebar
();
// calling footer.php
get_footer
();
// calling the standard sidebar
thematic_sidebar
();
// calling footer.php
get_footer
();
?>
\ No newline at end of file
wp-content/themes/thematic/archives.php
View file @
b3738fd5
<?php
/*
Template Name: Archives Page
*/
?>
<?php
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
?>
<div
id=
"container"
>
<?php
thematic_abovecontent
();
?>
<div
id=
"content"
>
<?php
the_post
();
thematic_abovepost
();
?>
<div
id=
"post-
<?php
the_ID
();
echo
'" '
;
if
(
!
(
THEMATIC_COMPATIBLE_POST_CLASS
))
{
post_class
();
echo
'>'
;
}
else
{
echo
'class="'
;
thematic_post_class
();
echo
'">'
;
}
// creating the post header
thematic_postheader
();
?>
<div class="
entry-content
"
>
<?php
the_content
();
// action hook for the 404 content
thematic_archives
();
edit_post_link
(
__
(
'Edit'
,
'thematic'
),
'<span class="edit-link">'
,
'</span>'
);
?>
</div>
<!-- .entry-content -->
</div>
<!-- #post -->
<?php
thematic_belowpost
();
// calling the comments template
// calling the comments template
if
(
THEMATIC_COMPATIBLE_COMMENT_HANDLING
)
{
if
(
get_post_custom_values
(
'comments'
)
)
{
// Add a key/value of "comments" to enable comments on pages!
thematic_comments_template
();
}
}
else
{
thematic_comments_template
();
}
?>
</div>
<!-- #content -->
<?php
thematic_belowcontent
();
?>
</div>
<!-- #container -->
/**
* Template Name: Deprecated Archives Template
*
* This tamplate has bben deprecated for proper template namespacing
* This file is going away.
*
* If you wish to use Thematic's Archives page template, please set
* your Page Attributes: Template to use the template named "Archives"
* on the WP-Admin Edit Page screen.
*
* @package Thematic
* @subpackage Templates
*
* @link http://codex.wordpress.org/Template_Hierarchy Codex: Template Hierarchy
* @deprecated 1.0
*/
<?php
// Providing deprecated file notice to be seen when WP_DEBUG is true
_deprecated_file
(
sprintf
(
__
(
'The template %s'
,
'thematic'
)
.
':'
,
basename
(
__FILE__
)
),
'1.0'
,
'template-page-archives.php'
);
// action hook for placing content below #container
thematic_belowcontainer
();
// calling the standard sidebar
thematic_sidebar
();
// calling footer.php
get_footer
();
// calling the header.php
get_template_part
(
'template-page'
,
'archives'
);
?>
\ No newline at end of file
wp-content/themes/thematic/attachment.php
View file @
b3738fd5
<?php
/**
* Attachments Template
*
* Displays singular WordPress Media Library items.
*
* @package Thematic
* @subpackage Templates
*
* @link http://codex.wordpress.org/Using_Image_and_File_Attachments Codex:Using Attachments
*/
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
?>
<div
id=
"container"
>
<?php
thematic_abovecontent
();
?>
<div
id=
"content"
>
<?php
the_post
();
// displays the page title
<?php
// action hook for placing content above #content
thematic_abovecontent
();
// filter for manipulating the element that wraps the content
echo
apply_filters
(
'thematic_open_id_content'
,
'<div id="content">'
.
"
\n\n
"
);
// start the loop
while
(
have_posts
()
)
:
the_post
();
// displays the page title
thematic_page_title
();
// action hook for placing content above #post
thematic_abovepost
();
?>
<div
id=
"post-
<?php
the_ID
()
;
echo
'" '
;
if
(
!
(
THEMATIC_COMPATIBLE_POST_CLASS
)
)
{
post_class
();
echo
'>'
;
?>
<?php
echo
'<div id="post-'
.
get_the_ID
()
.
'" '
;
// Checking for defined constant to enable Thematic's post classes
if
(
!
(
THEMATIC_COMPATIBLE_POST_CLASS
)
)
{
post_class
();
echo
'>'
;
}
else
{
echo
'class="'
;
thematic_post_class
();
echo
'">'
;
echo
'class="'
;
thematic_post_class
();
echo
'">'
;
}
// creating the post header
thematic_postheader
();
?>
// creating the post header
thematic_postheader
();
?>
<div
class=
"entry-content"
>
<div
class=
"entry-attachment"
>
<?php
the_attachment_link
(
$post
->
post_ID
,
true
)
?>
</div>
<div
class=
"entry-attachment"
>
<?php
the_attachment_link
(
$post
->
ID
,
true
)
?>
</div>
<?php
the_content
(
more_text
());
wp_link_pages
(
'before=<div class="page-link">'
.
__
(
'Pages:'
,
'thematic'
)
.
'&after=</div>'
);
the_content
(
thematic_more_text
()
);
wp_link_pages
(
'before=<div class="page-link">'
.
__
(
'Pages:'
,
'thematic'
)
.
'&after=</div>'
);
?>
</div>
<!-- .entry-content -->
<?php
// creating the post footer
thematic_postfooter
();
// creating the post footer
thematic_postfooter
();
?>
</div>
<!-- #post -->
<?php
thematic_belowpost
();
comments_template
();
// action hook for placing contentbelow #post
thematic_belowpost
();
// action hook for calling the comments_template
thematic_comments_template
();
// end loop
endwhile
;
?>
</div>
<!-- #content -->
<?php
thematic_belowcontent
();
?>
<?php
// action hook for placing content below #content
thematic_belowcontent
();
?>
</div>
<!-- #container -->
<?php
// action hook for placing content below #container
thematic_belowcontainer
();
// action hook for placing content below #container
thematic_belowcontainer
();
// calling the standard sidebar
thematic_sidebar
();
// calling footer.php
get_footer
();
// calling the standard sidebar
thematic_sidebar
();
// calling footer.php
get_footer
();
?>
\ No newline at end of file
wp-content/themes/thematic/author.php
View file @
b3738fd5
<?php
// calling the theme options
global
$options
,
$blog_id
;
foreach
(
$options
as
$value
)
{
if
(
get_option
(
$value
[
'id'
]
)
===
FALSE
)
{
$$value
[
'id'
]
=
$value
[
'std'
];
}
else
{
if
(
THEMATIC_MB
)
{
$$value
[
'id'
]
=
get_blog_option
(
$blog_id
,
$value
[
'id'
]
);
}
else
{
$$value
[
'id'
]
=
get_option
(
$value
[
'id'
]
);
}
}
}
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
/**
* Author Template
*
* Displays an archive index of posts by a singular Author.
* It can display a micrformatted vCard for Author if option is selcted in the default Theme Options.
*
* @package Thematic
* @subpackage Templates
*
* @link http://codex.wordpress.org/Author_Templates Codex:Author Templates
*/
// calling the header.php
get_header
();
// action hook for placing content above #container
thematic_abovecontainer
();
?>
<div
id=
"container"
>
<?php
thematic_abovecontent
();
?>
<div
id=
"content"
>
<?php
the_post
();
// displays the page title
thematic_page_title
();
// create the navigation above the content
thematic_navigation_above
();
/* if display author bio is selected */
if
(
$thm_authorinfo
==
'true'
&
!
is_paged
())
{
?>
<?php
// action hook for placing content above #content
thematic_abovecontent
();
echo
apply_filters
(
'thematic_open_id_content'
,
'<div id="content">'
.
"
\n\n
"
);
?>
<?php
// displays the page title
thematic_page_title
();
// create the navigation above the content
thematic_navigation_above
();
// display microformatted vCard if selected in Theme Options and display only on the first page of the archive's pagination
if
(
thematic_get_theme_opt
(
'author_info'
)
==
1
&
!
is_paged
()
)
:
// setup the first post to acess the Author's metadata
the_post
();
?>
<div
id=
"author-info"
class=
"vcard"
>
<h2
class=
"entry-title"
>
<?php
echo
$authordata
->
first_name
;
?>
<?php
echo
$authordata
->
last_name
;
?>
</h2>
<?php
// display the author's avatar
thematic_author_info_avatar
();
<h2
class=
"entry-title"
>
<?php
the_author_meta
(
'first_name'
);
?>
<?php
the_author_meta
(
'last_name'
);
?>
</h2>
<?php
// display the author's avatar
thematic_author_info_avatar
();
?>
<div
class=
"author-bio note"
>
<?php
if
(
!
(
''
==
$authordata
->
user_description
)
)
:
echo
apply_filters
(
'archive_meta'
,
$authordata
->
user_description
);
endif
;
?>
</div>
<?php
// Display Author's discription if it exists
if
(
get_the_author_meta
(
'user_description'
)
)
// Filterable use the_author_user_description *or* get_the_author_user_description
the_author_meta
(
'user_description'
);
?>
</div>
<div
id=
"author-email"
>
<a
class=
"email"
title=
"
<?php
echo
antispambot
(
$authordata
->
user_email
);
?>
"
href=
"mailto:
<?php
echo
antispambot
(
$authordata
->
user_email
);
?>
"
>
<?php
_e
(
'Email '
,
'thematic'
)
?>
<span
class=
"fn n"
><span
class=
"given-name"
>
<?php
echo
$authordata
->
first_name
;
?>
</span>
<span
class=
"family-name"
>
<?php
echo
$authordata
->
last_name
;
?>
</span></span></a>
<a
class=
"url"
style=
"display:none;"
href=
"
<?php
bloginfo
(
'url'
)
?>
/"
>
<?php
bloginfo
(
'name'
)
?>
</a>
<a
class=
"email"
title=
"
<?php
echo
antispambot
(
get_the_author_meta
(
'user_email'
)
);
?>
"
href=
"mailto:
<?php
echo
antispambot
(
get_the_author_meta
(
'user_email'
)
);
?>
"
>
<?php
_e
(
'Email '
,
'thematic'
)
?>
<span
class=
"fn n"
>
<span
class=
"given-name"
>
<?php
the_author_meta
(
'first_name'
);
?>
</span>
<span
class=
"family-name"
>
<?php
the_author_meta
(
'last_name'
);
?>
</span>
</span>
</a>
<a
class=