Full Code of terrylinooo/mynote for AI

master 25fa38f024c2 cached
117 files
442.8 KB
136.9k tokens
106 symbols
1 requests
Download .txt
Showing preview only (477K chars total). Download the full file or copy to clipboard to get everything.
Repository: terrylinooo/mynote
Branch: master
Commit: 25fa38f024c2
Files: 117
Total size: 442.8 KB

Directory structure:
gitextract_sah6h9cm/

├── .github/
│   └── ISSUE_TEMPLATE/
│       ├── bug_report.md
│       └── feature_request.md
├── .gitignore
├── 404.php
├── LICENSE
├── README.md
├── README.txt
├── archive-product.php
├── archive.php
├── assets/
│   ├── css/
│   │   └── index.html
│   ├── images/
│   │   └── index.html
│   ├── index.html
│   └── js/
│       └── index.html
├── author.php
├── category.php
├── comments.php
├── composer.json
├── custom-landing-page-full.php
├── custom-landing-page-simple.php
├── editor-style.css
├── footer.php
├── functions.php
├── header.php
├── inc/
│   ├── assets/
│   │   ├── css/
│   │   │   ├── index.html
│   │   │   ├── mynote-alpha-color-picker.css
│   │   │   ├── mynote-image-radio.css
│   │   │   └── mynote-toggle.css
│   │   ├── images/
│   │   │   └── index.html
│   │   ├── index.html
│   │   ├── js/
│   │   │   ├── index.html
│   │   │   ├── mynote-alpha-color-picker.js
│   │   │   └── mynote-image-radio.js
│   │   └── scss/
│   │       ├── config.rb
│   │       ├── index.html
│   │       ├── mynote-alpha-color-picker.scss
│   │       ├── mynote-image-radio.scss
│   │       └── mynote-toggle.scss
│   ├── classes/
│   │   ├── customizer/
│   │   │   ├── class-customize-alpha-color-control.php
│   │   │   ├── class-customize-content-control.php
│   │   │   ├── class-customize-image-radio-control.php
│   │   │   ├── class-customize-toggle-control.php
│   │   │   └── index.html
│   │   ├── index.html
│   │   ├── navbar/
│   │   │   ├── class-mynote-walker.php
│   │   │   └── index.html
│   │   └── widgets/
│   │       └── class-mynote-widget-toc.php
│   ├── customer/
│   │   ├── about.php
│   │   ├── homepage.php
│   │   ├── index.html
│   │   ├── layout.php
│   │   ├── navbar.php
│   │   ├── post-card.php
│   │   ├── post-page.php
│   │   └── progress-bar.php
│   ├── customize-css.php
│   ├── customizer.php
│   ├── icon-functions.php
│   ├── index.html
│   ├── template-functions.php
│   ├── template-hook-functions.php
│   ├── template-hooks.php
│   └── template-tags.php
├── index.php
├── languages/
│   ├── de_DE.mo
│   ├── de_DE.po
│   ├── fr_FR.mo
│   ├── fr_FR.po
│   ├── ja.mo
│   ├── ja.po
│   ├── mynote.pot
│   ├── pt_BR.mo
│   └── pt_BR.po
├── mynote-child/
│   ├── functions.php
│   └── style.css
├── page.php
├── phpcs.xml
├── scss/
│   ├── _bootstrap.scss
│   ├── _breadcrumb.scss
│   ├── _buttons.scss
│   ├── _comment.scss
│   ├── _footer.scss
│   ├── _functions.scss
│   ├── _header.scss
│   ├── _home.scss
│   ├── _labels.scss
│   ├── _main.scss
│   ├── _markdown-theme-github.scss
│   ├── _misc.scss
│   ├── _page-progress.scss
│   ├── _responsive.scss
│   ├── _shortcode.scss
│   ├── _sticky-top.scss
│   ├── _table-of-content.scss
│   ├── _the-author-card.scss
│   ├── _typography.scss
│   ├── _variables.scss
│   ├── _video.scss
│   ├── _widget.scss
│   ├── _wordpress.scss
│   ├── config.rb
│   ├── editor-style.scss
│   ├── index.html
│   └── style.scss
├── search.php
├── searchform.php
├── sidebar-archive.php
├── sidebar-home.php
├── single-product.php
├── single.php
├── style.css
├── tag.php
└── template-parts/
    ├── archive.php
    ├── content-none.php
    ├── index.html
    ├── loop.php
    ├── page-landing.php
    └── pagination.php

================================================
FILE CONTENTS
================================================

================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

**Smartphone (please complete the following information):**
 - Device: [e.g. iPhone6]
 - OS: [e.g. iOS8.1]
 - Browser [e.g. stock browser, safari]
 - Version [e.g. 22]

**Additional context**
Add any other context about the problem here.


================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.md
================================================
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.


================================================
FILE: .gitignore
================================================
.DS_Store
*.rej

# IDE Files
#-------------------------

/nbproject/
.idea/*

## Sublime Text cache files

*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
/tests/tests/
/tests/results/

# Visual Studio Code

.vscode/
.vscode/*

!.gitignore

================================================
FILE: 404.php
================================================
<?php
/**
 * Error 404 - Page not found.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

get_header();

?>

<div class="category-header">
	<div class="container">
		<h1 id="post-title" class="error-404" itemprop="headline">
			<?php esc_html_e( 'Page not found', 'mynote' ); ?>
		</h1>
	</div>
</div>
<main role="main">
	<div class="container">
		<article id="post-404">
			<p>
				<?php esc_html_e( 'The page you are looking for does not exist or it may have been moved.', 'mynote' ); ?>

				<ul>
					<li>
						<a href="<?php echo esc_url( home_url() ); ?>">
							<?php esc_html_e( 'Return home?', 'mynote' ); ?>
						</a>
					</li>
				</ul>
			</p>
		</article>
	</div>
</main>

<?php

get_footer();


================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.


================================================
FILE: README.md
================================================
# Mynote

Mynote is a WordPress theme with preferred features for developers and programmers.

![Screenshot](./screenshot.png)

A responsive, clean, Markdown friendly WordPress blog theme. It is based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, business, technical, professional, niche and any kind of blogging sites. Mynote has landing-page templates so that can your highly customize your homepage, make your website unique and professional.

## Download

| source | download | 
| --- | --- | 
| WordPress | https://wordpress.org/themes/mynote/ |
| GitHub repository | https://github.com/terrylinooo/mynote/releases | 
| PHP Composer | `composer create-project terrylinooo/mynote mynote` |

## Features

- Markdown friendly
- Fully reponsive web design
- Search engine optimization
- Highly customizable
- Structured data supported:
  - Breadcrumb
  - Article
  - Author
  - Date
- Widget areas
  - Sidebar
  - Sticky sidebar
  - Footer
  - Homepage intro
  - Homepage middle
- Widgets:
  - Sticky TOC
- Menu areas:
  - Header
  - Sidebar
  - Footer
  - Footer social icon links
- Bootstrap 4 pagination
- Bootstrap 4 navigation menu (2-layer)
- Page reading progress bar
- Page templates:
  - Landing page (full) (with post content) *(#2)*
  - Landing page (simple) (without post content) *(#3)*
- Cross-platform safe webfont for CJK languages. *(#1)*
- SCSS supported - Easy to modify this theme for your needs.
- WordPress Coding Standards - 99% passed by PHP_CodeSniffer ([WDCS](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards))

*Note:*

`#1` CJK: Chinese, Japanese, Koreanese.
`#2`, `#3` Featured image will be displayed as header cover.

## Built-in Hooks

- mynote_head
- mynote_header_before
- mynote_header
- mynote_header_after
- mynote_site_wrapper_before
- mynote_site_wrapper_after
- mynote_footer_before
- mynote_footer
- mynote_footer_after
- mynote_homepage_promotion
- mynote_homepage_sidebar
- mynote_homepage_middle_sidebar
- mynote_loop_before
- mynote_loop_after
- mynote_pagination_before
- mynote_pagination
- mynote_pagination_after
- mynote_post_before
- mynote_post_content_before
- mynote_post_content_after
- mynote_post_after
- mynote_post_sidebar
- mynote_post_comment_before
- mynote_post_comment_after
- mynote_page_before
- mynote_page_content_before
- mynote_page_content_after
- mynote_page_after
- mynote_archive_sidebar
- mynote_archive_headline_after
- mynote_archive_loop_before
- mynote_archive_loop_after
- mynote_category_headline_after
- mynote_tag_headline_after
- mynote_search_headline_after

## Child Theme

If you would like to customize something by using Mynote, there is a sample ready for you, just copy `mynote-child` into your WordPress theme directory, and then activate the `Mynote Child` theme in the control panel.

## Dependencies

- Bootstrap 4
- Fontawesome 5

## Translations

- Portuguese (pt_BR) by @mauromascarenhas
- Japanese (ja_JP) by [@colocal](https://colocal.com/)

## Author

Terry L.
- [Blog - English](https://terryl.in/) 
- [Blog - Tranditional Chinese](https://terryl.in/zh/)

## Plugins 
- [Githuber MD](https://github.com/terrylinooo/githuber-md) is an all-in-one [WordPress Markdown plugin](https://wordpress.org/plugins/wp-githuber-md/). You are able to download it from WordPress plugin directory. To get the additional features of Mynote theme below by install Githuber MD plugin. If you're looking for an useful Markdown editor in WordPress, Githuber MD may be good for you. It is worth to give it a try!

## License

GPLv3 (or later)


================================================
FILE: README.txt
================================================
=== Mynote ===
Contributors: Terry Lin
Requires at least: 3.6
Tested up to: 6.2.2
Version: 2.0.4
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-menu, custom-logo, custom-colors, custom-header, featured-images, featured-image-header, microformats, theme-options, footer-widgets, threaded-comments, translation-ready, blog, entertainment
Requires PHP: 5.2.4
Stable tag: 2.0.4

== Description ==

Mynote is a responsive, clean, Markdown friendly WordPress blog theme. It is based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, business, technical, professional, niche and any kind of blogging sites. Mynote has landing-page templates so that can your highly customize your homepage, make your website unique and professional.

== Installation ==

1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Mynote in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Navigate to Appearance > Customize in your admin panel and customize to taste.

== Copyright ==

Mynote WordPress Theme, Copyright 2018 TerryL.in
Mynote is distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Mynote bundles the following third-party resources:

Font Awesome icons, Copyright Dave Gandy
License: SIL Open Font License, version 1.1.
Source: http://fontawesome.io/

Bootstrap, Copyright 2011-2018 Twitter, Inc.
License: The MIT License (MIT)
Source: https://github.com/twbs/bootstrap


Customize_Alpha_Color_Control, copyright BraadMartin
License: GPL
Source: https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker

CSS Button Effect, Copyright Simurai 
License: The MIT License (MIT)
Source: https://codepen.io/simurai/pen/DwJdq

Default header background, Copyright kuba
License: Creative Commons CC0 license.
Source: https://openclipart.org/detail/99217/electronic-circuit

Image: Screenshot
License: Creative Commons CC0 license.
Source: http://pickupimage.com/free-photos/Aurora-Borealis-Northern-Lights-above-coastal-sea/
Source: https://stocksnap.io/photo/PX6JTHBNDW 
Source: https://stocksnap.io/photo/NT1Q3GZVFI
Source: https://stocksnap.io/photo/9XRMMD2VPW

== Changelog ==

= 1.0.9 =

- Change its name from Githuber to Mynote because of possible trademark issue.
- Reorganize theme files - refer to the official theme file structure.
- Strengthen theme customizer.

= 1.0.12 =

- Fix issues to pass the theme review.

= 1.1.0 =

- Add a `Go to Top` floated button. It will be displayed when user scrolling down.
- Add a `Go to next screen` floated button. It will be displayed while browsing in RWD mode. (Homepage)
- The layout of post page will become one column when user doesn't use widgets in sidebar area.
- Fix navbar transparent background issue while browsing in RWD mode.

= 1.2.0 =

- User is now able to choose preferred layout in Customizer.
- Add customizer settings: post card.
- Add 2 widget areas: homepage sidebar and archive sidebar.
- Add theme suport: site logo (180x60). It will be displayed on navbar.

= 1.2.1 =

- Fix wrong setting name in customizer.

= 1.2.2 =

- Add new customizer setting section: Post page.

= 1.3.0 =

- Improve customizer: change radio to toggle.
- Fix an overflow issue in homepage intro section (RWD).
- Reorganize cusomizer files structure.
- Reorganize static asset files structure.
- Add new settings in cusomizer: RWD switcher.
- Fix other little CSS issues.

= 1.3.1 =

- Fix issue #5 - pagination not working in static front page.
- Adjust CSS for homepage in RWD.
- Add support for WooCommerce.

= 1.3.2 =

- Add a new customizer setting: Post card - border.
- Fix issue #6: Firefox: progress bar almost invisible.
- Fix issue #7 - Compatible issue in the child theme.
- Fix issue #8: Post tags don't adjust to container div.

= 1.3.3 =

- Fix issue #11
- Improve footer layout.

= 1.3.4 =

- Add a customizer setting - elements adjustment in footer section.

= 1.3.5 =

- Improve footer menu in RWD.
- Add new customizer setting for social icon sizes.

= 1.3.6 =

- Feedback #14: Add Portuguese translation - thanks for @mauromascarenhas

= 1.3.7 =

- Feedback #17: Add German translation - thanks for @Pandiora

= 1.4.0 =

- Feature request #18: Wrap template functions for child theme.

= 1.4.1 =

- Issue #20 - Fix background image position when resolution > 1920.

= 1.4.2 =

- Feedback #23: Add French translation - thanks for @quentin7b

= 1.4.3 =

- Feedback #24: Make thumbnail in homepage clickable.
- Feedback #25: Update French translation - thanks for @quentin7b

= 1.5.0 = 

- Add support for the new theme hook `wp_body_open` since WordPress 5.2

= 1.5.1 = 

- Fix CSS conflics with highlight.js JavaScript library.

= 1.6.0 = 

- Add some settings about adjusting the color of menu toggler in responsive view.
- Add some settings about search bar on navigation bar, including input text color, background color and size.
- Add a setting about gradient mask on post card.

= 1.6.1 =

- Fix <code> CSS font setting.

= 1.6.2 =

- Fix HTML unclosed tag in homepage.

= 1.6.3 =

- Fix missing of WooCommerce support.

= 2.0.0 =

- Add 35 built-in hooks.
- Add Sticky TOC widget.

= 2.0.1 =

- Fix a bug in homepage.

= 2.0.4 =

- Test with PHP 8.2.5 and WordPress 6.2.2
- Fix widget style for WordPress 6.
- Fix coding style.
- Add Japanese translation.

================================================
FILE: archive-product.php
================================================
<?php
/**
 * The Archive page of Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 1.6.3
 */

get_header();

?>

<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<div class="category-header">
	<div class="container">
		<h1 id="post-title" class="archive" itemprop="headline">
			<?php woocommerce_page_title(); ?>
		</h1>
	</div>
</div>
<?php endif; ?>
<main role="main">
	<div class="container">
		<div class="row row-layout-choice-archive">
			<section id="main-container" class="<?php echo esc_attr( mynote_main_container_css() ); ?>">

				<?php

				if ( woocommerce_product_loop() ) {
					do_action( 'woocommerce_before_shop_loop' );

					woocommerce_product_loop_start();

					if ( wc_get_loop_prop( 'total' ) ) {
						while ( have_posts() ) {
							the_post();
							do_action( 'woocommerce_shop_loop' );
							wc_get_template_part( 'content', 'product' );
						}
					}

					woocommerce_product_loop_end();

					do_action( 'woocommerce_after_shop_loop' );

				} else {
					do_action( 'woocommerce_no_products_found' );
				}

				do_action( 'woocommerce_after_main_content' );

				?>

			</section>
		</div>
	</div>
</main>

<?php

get_footer();



================================================
FILE: archive.php
================================================
<?php
/**
 * The Archive page of Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

get_header();

?>

<div class="category-header">
	<div class="container">
		<h1 id="post-title" class="archive" itemprop="headline">
			<?php echo get_the_date( 'F, Y' ); ?>
		</h1>
	</div>
</div>

<?php
	/**
	 * Hook: mynote_archive_headline_after
	 *
	 * The width here is wide, style it with proper CSS code.
	 */
	do_action( 'mynote_archive_headline_after' );
?>

<main role="main">
	<?php get_template_part( 'template-parts/archive' ); ?>
</main>

<?php

get_footer();


================================================
FILE: assets/css/index.html
================================================


================================================
FILE: assets/images/index.html
================================================


================================================
FILE: assets/index.html
================================================


================================================
FILE: assets/js/index.html
================================================


================================================
FILE: author.php
================================================
<?php
/**
 * The Author page of Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

get_header();

?>

<main role="main">
	<div class="container author-page">
		<?php mynote_author_card( 150, 'lg' ); ?>
	</div>
	<?php get_template_part( 'template-parts/archive' ); ?>
</main>

<?php

get_footer();



================================================
FILE: category.php
================================================
<?php
/**
 * The Category page of Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

$cat_description = category_description();

get_header();

?>

<div class="category-header">
	<div class="container">
		<h1 id="post-title" class="category" itemprop="headline">
			<?php single_cat_title(); ?>
		</h1>
		<?php if ( ! empty( $cat_description ) ) : ?>
			<div class="term-desctiotion">
				<?php echo $cat_description; ?>
			</div>
		<?php endif; ?>
	</div>
</div>

<?php
	/**
	 * Hook: mynote_category_headline_after
	 *
	 * The width here is wide, style it with proper CSS code.
	 */
	do_action( 'mynote_category_headline_after' );
?>

<main role="main">
	<?php get_template_part( 'template-parts/archive' ); ?>
</main>

<?php

get_footer();


================================================
FILE: comments.php
================================================
<?php
/**
 * The template for displaying comments
 *
 * This is the template that displays the area of the page that contains both the current comments
 * and the comment form.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

/*
 * If the current post is protected by a password and
 * the visitor has not yet entered the password we will
 * return early without loading the comments.
 */
if ( post_password_required() ) {
	return;
}

/**
 * If the post type is not supprted.
 */
if ( ! post_type_supports( get_post_type(), 'comments' ) ) {
	return;
}

/*
 * If comment is not open, and comment number is 0,
 * I think it is no need to show this section.
 */
if ( ! comments_open() && 0 === (int) get_comments_number() ) {
	return;
}

/**
 * Hook: mynote_post_comment_before
 */
do_action( 'mynote_post_comment_before' );

?>

<div id="comments" class="discussion-wrapper">
	<h3 class="section-title">
		<?php esc_html_e( 'Comments', 'mynote' ); ?>
	</h3>
	<div class="discussion-timeline">

		<?php if ( have_comments() ) : ?>
			<?php wp_list_comments( 'type=comment&callback=mynote_comment' ); ?>
		<?php endif; ?>

		<?php

		the_comments_pagination(
			array(
				'prev_text' => '<i class="fas fa-angle-left"></i> <span class="screen-reader-text">' . __( 'Previous', 'mynote' ) . '</span>',
				'next_text' => '<span class="screen-reader-text">' . __( 'Next', 'mynote' ) . '</span> <i class="fas fa-angle-right"></i>',
			)
		);

		?>

		<?php if ( ! comments_open() && get_comments_number() ) : ?>
			<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'mynote' ); ?></p>
		<?php endif; ?>

		<?php comment_form(); ?>

	</div>
</div>

<?php

/**
 * Hook: mynote_post_comment_after
 */
do_action( 'mynote_post_comment_after' );


================================================
FILE: composer.json
================================================
{
    "name": "terrylinooo/mynote",
    "description": "A WordPress theme for developers and programmers.",
    "keywords": ["wordpress-theme", "wordpress", "bootstrap-theme"],
    "homepage": "https://github.com/terrylinooo/githuber-md",
    "license": "GPL-3.0-or-later",
    "authors": [
        {
            "name": "Terry Lin",
            "email": "contact@terryl.in",
            "homepage": "https://terryl.in"
        }
    ],
    "require": {
        "php": ">=5.3"
    }
}


================================================
FILE: custom-landing-page-full.php
================================================
<?php
/**
 * Template Name: Landing Page (full)
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

get_header();

get_template_part( 'template-parts/page', 'landing' );

/**
 * Hook: mynote_homepage_middle_sidebar
 *
 * @hooked mynote_homepage_middle_sidebar - 10
 */
do_action( 'mynote_homepage_middle_sidebar' );

get_footer();



================================================
FILE: custom-landing-page-simple.php
================================================
<?php
/**
 * Template Name: Landing Page (simple)
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

get_header();

get_template_part( 'template-parts/page', 'landing' );

get_footer();


================================================
FILE: editor-style.css
================================================
@charset "UTF-8";
@font-face {
  font-family: octicons-link;
  src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format("woff");
}
body {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  color: #24292e;
  font-size: 1rem;
  line-height: 1.5;
  word-wrap: break-word;
  /*
  > h1:first-child {
  	display: none;
  }
  */
}
body .pl-c {
  color: #6a737d;
}
body .pl-c1, body .pl-s .pl-v {
  color: #005cc5;
}
body .pl-e, body .pl-en {
  color: #6f42c1;
}
body .pl-smi, body .pl-s .pl-s1 {
  color: #24292e;
}
body .pl-ent {
  color: #22863a;
}
body .pl-k {
  color: #d73a49;
}
body .pl-s, body .pl-pds, body .pl-s .pl-pse .pl-s1 {
  color: #032f62;
}
body .pl-sr {
  color: #032f62;
}
body .pl-sr .pl-cce, body .pl-sr .pl-sre, body .pl-sr .pl-sra {
  color: #032f62;
}
body .pl-v, body .pl-smw {
  color: #e36209;
}
body .pl-bu {
  color: #b31d28;
}
body .pl-ii {
  color: #fafbfc;
  background-color: #b31d28;
}
body .pl-c2 {
  color: #fafbfc;
  background-color: #d73a49;
}
body .pl-c2::before {
  content: "^M";
}
body .pl-sr .pl-cce {
  font-weight: bold;
  color: #22863a;
}
body .pl-ml {
  color: #735c0f;
}
body .pl-mh {
  font-weight: bold;
  color: #005cc5;
}
body .pl-mh .pl-en {
  font-weight: bold;
  color: #005cc5;
}
body .pl-ms {
  font-weight: bold;
  color: #005cc5;
}
body .pl-mi {
  font-style: italic;
  color: #24292e;
}
body .pl-mb {
  font-weight: bold;
  color: #24292e;
}
body .pl-md {
  color: #b31d28;
  background-color: #ffeef0;
}
body .pl-mi1 {
  color: #22863a;
  background-color: #f0fff4;
}
body .pl-mc {
  color: #e36209;
  background-color: #ffebda;
}
body .pl-mi2 {
  color: #f6f8fa;
  background-color: #005cc5;
}
body .pl-mdr {
  font-weight: bold;
  color: #6f42c1;
}
body .pl-ba {
  color: #586069;
}
body .pl-sg {
  color: #959da5;
}
body .pl-corl {
  text-decoration: underline;
  color: #032f62;
}
body .octicon {
  display: inline-block;
  vertical-align: text-top;
  fill: currentColor;
}
body a {
  background-color: transparent;
}
body a:active, body a:hover {
  outline-width: 0;
}
body strong {
  font-weight: inherit;
  font-weight: bolder;
}
body h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
body img {
  border-style: none;
}
body code, body kbd, body pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
body hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
body input {
  font: inherit;
  margin: 0;
  overflow: visible;
}
body [type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}
body * {
  box-sizing: border-box;
}
body input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
body a {
  color: #0366d6;
  text-decoration: none;
}
body a:hover {
  text-decoration: underline;
}
body strong {
  font-weight: 600;
}
body hr {
  height: 0;
  margin: 15px 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe2e5;
}
body hr::before {
  display: table;
  content: "";
}
body hr::after {
  display: table;
  clear: both;
  content: "";
}
body table {
  border-spacing: 0;
  border-collapse: collapse;
}
body td, body th {
  padding: 0;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  margin-top: 0;
  margin-bottom: 0;
}
body h1 {
  font-size: 32px;
  font-weight: 600;
}
body h2 {
  font-size: 24px;
  font-weight: 600;
}
body h3 {
  font-size: 20px;
  font-weight: 600;
}
body h4 {
  font-size: 16px;
  font-weight: 600;
}
body h5 {
  font-size: 14px;
  font-weight: 600;
}
body h6 {
  font-size: 12px;
  font-weight: 600;
}
body p {
  margin-top: 0;
  margin-bottom: 10px;
}
body blockquote {
  margin: 0;
}
body ul {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
body ol {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
body ol ol {
  list-style-type: lower-roman;
}
body ul ol {
  list-style-type: lower-roman;
}
body ul ul ol, body ul ol ol {
  list-style-type: lower-alpha;
}
body ol ul ol, body ol ol ol {
  list-style-type: lower-alpha;
}
body dd {
  margin-left: 0;
}
body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 12px;
}
body pre {
  margin-top: 0;
  margin-bottom: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 12px;
}
body .octicon {
  vertical-align: text-bottom;
}
body .pl-0 {
  padding-left: 0 !important;
}
body .pl-1 {
  padding-left: 4px !important;
}
body .pl-2 {
  padding-left: 8px !important;
}
body .pl-3 {
  padding-left: 16px !important;
}
body .pl-4 {
  padding-left: 24px !important;
}
body .pl-5 {
  padding-left: 32px !important;
}
body .pl-6 {
  padding-left: 40px !important;
}
body::before {
  display: table;
  content: "";
}
body::after {
  display: table;
  clear: both;
  content: "";
}
body > *:first-child {
  margin-top: 0 !important;
}
body > *:last-child {
  margin-bottom: 0 !important;
}
body a:not([href]) {
  color: inherit;
  text-decoration: none;
}
body .anchor {
  float: left;
  padding-right: 4px;
  margin-left: -20px;
  line-height: 1;
}
body .anchor:focus {
  outline: none;
}
body p, body blockquote, body ul, body ol, body dl, body table, body pre {
  margin-top: 0;
  margin-bottom: 16px;
}
body hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: #e1e4e8;
  border: 0;
}
body blockquote {
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
}
body blockquote > :first-child {
  margin-top: 0;
}
body blockquote > :last-child {
  margin-bottom: 0;
}
body kbd {
  display: inline-block;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 10px;
  color: #444d56;
  vertical-align: middle;
  background-color: #fafbfc;
  border: solid 1px #c6cbd1;
  border-bottom-color: #959da5;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #959da5;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}
body h1 .octicon-link, body h2 .octicon-link, body h3 .octicon-link, body h4 .octicon-link, body h5 .octicon-link, body h6 .octicon-link {
  color: #1b1f23;
  vertical-align: middle;
  visibility: hidden;
}
body h1:hover .anchor, body h2:hover .anchor, body h3:hover .anchor, body h4:hover .anchor, body h5:hover .anchor, body h6:hover .anchor {
  text-decoration: none;
}
body h1:hover .anchor .octicon-link, body h2:hover .anchor .octicon-link, body h3:hover .anchor .octicon-link, body h4:hover .anchor .octicon-link, body h5:hover .anchor .octicon-link, body h6:hover .anchor .octicon-link {
  visibility: visible;
}
body h1 {
  padding-bottom: 0.3em;
  font-size: 2em;
  border-bottom: 1px solid #eaecef;
}
body h2 {
  padding-bottom: 0.3em;
  font-size: 1.5em;
  border-bottom: 1px solid #eaecef;
}
body h3 {
  font-size: 1.25em;
}
body h4 {
  font-size: 1em;
}
body h5 {
  font-size: 0.875em;
}
body h6 {
  font-size: 0.85em;
  color: #6a737d;
}
body ul, body ol {
  padding-left: 2em;
}
body ul ul, body ul ol {
  margin-top: 0;
  margin-bottom: 0;
}
body ol ol, body ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
body li {
  word-wrap: break-all;
}
body li > p {
  margin-top: 16px;
}
body li + li {
  margin-top: 0.25em;
}
body dl {
  padding: 0;
}
body dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
}
body dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}
body table {
  display: block;
  width: 100%;
  overflow: auto;
}
body table th {
  font-weight: 600;
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}
body table td {
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}
body table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}
body table tr:nth-child(2n) {
  background-color: #f6f8fa;
}
body img {
  max-width: 100%;
  box-sizing: content-box;
  background-color: #fff;
}
body img[align=right] {
  padding-left: 20px;
}
body img[align=left] {
  padding-right: 20px;
}
body code {
  padding: 0.2em 0.4em;
  font-size: 85%;
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
  color: #333;
}
body pre {
  word-wrap: normal;
}
body pre > code {
  padding: 0;
  margin: 0;
  font-size: 100%;
  word-break: normal;
  white-space: pre;
  background: transparent;
  border: 0;
}
body .highlight {
  margin-bottom: 16px;
}
body .highlight pre {
  margin-bottom: 0;
  word-break: normal;
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 3px;
}
body pre {
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 3px;
}
body pre code {
  display: inline;
  max-width: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  line-height: inherit;
  word-wrap: normal;
  background-color: transparent;
  border: 0;
}
body .full-commit .btn-outline:not(:disabled):hover {
  color: #005cc5;
  border-color: #005cc5;
}
body kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  line-height: 10px;
  color: #444d56;
  vertical-align: middle;
  background-color: #fafbfc;
  border: solid 1px #d1d5da;
  border-bottom-color: #c6cbd1;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #c6cbd1;
}
body :checked + .radio-label {
  position: relative;
  z-index: 1;
  border-color: #0366d6;
}
body .task-list-item {
  list-style-type: none;
}
body .task-list-item + .task-list-item {
  margin-top: 3px;
}
body .task-list-item input {
  margin: 0 0.2em 0.25em -1.6em;
  vertical-align: middle;
}
body hr {
  border-bottom-color: #eee;
}

/* Use the best fit font for different languages */
:lang(en) body {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif;
}
:lang(en) h1, :lang(en) h2, :lang(en) h3, :lang(en) h4, :lang(en) h5, :lang(en) h6 {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif;
}
:lang(en) .section-intro, :lang(en) #post-title, :lang(en) .site-info {
  font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif;
}

:lang(zh) body {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "標楷體", "DFKai-SB";
}
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4, :lang(zh) h5, :lang(zh) h6 {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB";
}
:lang(zh) .section-intro, :lang(zh) #post-title, :lang(zh) .site-info {
  font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB";
}

:lang(ja) body {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic";
}
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4, :lang(ja) h5, :lang(ja) h6 {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic";
}
:lang(ja) .section-intro, :lang(ja) #post-title, :lang(ja) .site-info {
  font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic";
}

:lang(ko) body {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim";
}
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4, :lang(ko) h5, :lang(ko) h6 {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim";
}
:lang(ko) .section-intro, :lang(ko) #post-title, :lang(ko) .site-info {
  font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim";
}


================================================
FILE: footer.php
================================================
<?php
/**
 * The footer for Mynote theme
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

/**
 * Hook: mynote_footer_before
 */
do_action( 'mynote_footer_before' );

?>

		<footer class="footer" role="contentinfo">

			<?php
				/**
				 * Hook: mynote_footer
				 *
				 * @hooked mynote_footer_widgets - 10
				 * @hooked mynote_columns        - 20
				 */
				do_action( 'mynote_footer' );
			?>

		</footer>

		<?php
			/**
			 * Hook: mynote_footer_after
			 */
			do_action( 'mynote_footer_after' );
		?>

	</div><!-- .wrapper -->

	<?php
		/**
		 * Hook: mynote_site_wrapper_after
		 */
		do_action( 'mynote_site_wrapper_after' );

		wp_footer();
	?>

	<a href="javascript:void(0);" class="go-top" style="display: none">
		<i class="fas fa-arrow-up"></i>
	</a>
</body>
</html>


================================================
FILE: functions.php
================================================
<?php
/**
 * Basic initialization for Mynote theme
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

if ( ! function_exists( 'mynote_setup_theme' ) ) {

	function mynote_setup_theme() {

		// Let WordPress manage the document title.
		add_theme_support( 'title-tag' );

		// Add Thumbnail Theme Support.
		add_theme_support( 'post-thumbnails' );

		// Enables post and comment RSS feed links to head.
		add_theme_support( 'automatic-feed-links' );

		// Custom Thumbnail Size call using the_post_thumbnail( 'mynote-thumbnail' ); .
		add_image_size( 'mynote-thumbnail', 360, 240, true );
		add_image_size( 'mynote-medium', 600, 400, true );

		// Localisation Support.
		load_theme_textdomain( 'mynote', get_template_directory() . '/languages' );

		// Add excerpt to page.
		add_post_type_support( 'page', 'excerpt' );

		// Add custom background support.
		$background_args = array(
			'default-color'          => '',
			'default-image'          => '',
			'default-repeat'         => 'repeat',
			'default-position-x'     => 'left',
			'default-position-y'     => 'top',
			'default-size'           => 'auto',
			'default-attachment'     => 'scroll',
			'wp-head-callback'       => '_custom_background_cb',
			'admin-head-callback'    => '',
			'admin-preview-callback' => '',
		);
		add_theme_support( 'custom-background', $background_args );

		// Add theme support for Custom Header
		$header_args = array(
			'default-image'          => '',
			'width'                  => 1920,
			'height'                 => 640,
			'flex-width'             => false,
			'flex-height'            => false,
			'uploads'                => true,
			'random-default'         => false,
			'header-text'            => true,
			'default-text-color'     => 'ffffff',
			'wp-head-callback'       => '_custom_background_cb',
			'admin-head-callback'    => '',
			'admin-preview-callback' => '',
			'video'                  => false,
			'video-active-callback'  => '',
		);
		add_theme_support( 'custom-header', $header_args );

		// Add theme support for Custom Logo.
		$logo_args = array(
			'height'     => 60,
			'width'      => 180,
			'flex-width' => true,
		);
		add_theme_support( 'custom-logo', $logo_args );

		add_theme_support(
			'woocommerce',
			array(
				'thumbnail_image_width' => 150,
				'single_image_width'    => 300,
				'product_grid'          => array(
					'default_rows'    => 3,
					'min_rows'        => 2,
					'max_rows'        => 8,
					'default_columns' => 4,
					'min_columns'     => 2,
					'max_columns'     => 5,
				),
			)
		);
	}

	add_editor_style( 'editor-style.css' );
}

/**
 * Add scripts
 */
function mynote_header_scripts() {
	if ( 'wp-login.php' !== $GLOBALS['pagenow'] && ! is_admin() ) {
		wp_register_script( 'bootstrap', get_template_directory_uri() . '/assets/js/bootstrap.bundle.min.js', array( 'jquery' ), '4.1.0' );
		wp_enqueue_script( 'bootstrap' );
	}
}

/**
 * Add styles
 */
function mynote_styles() {
	wp_register_style( 'bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css', array(), '4.1.0', 'all' );
	wp_enqueue_style( 'bootstrap' );

	wp_register_style( 'fontawesome', get_template_directory_uri() . '/assets/css/fontawesome-all.min.css', array(), '5.1.0', 'all' );
	wp_enqueue_style( 'fontawesome' );

	wp_register_style( 'mynote-font-roboto', 'https://fonts.googleapis.com/css?family=Roboto:300,400', array(), '1.0', 'all' );
	wp_enqueue_style( 'mynote-font-roboto' );

	wp_register_style( 'mynote', get_template_directory_uri() . '/style.css', array(), '2.0.3', 'all' );
	wp_enqueue_style( 'mynote' );
}

/**
 * Enqueue the javascript that performs in-link comment reply fanciness
 *
 * @return void
 */
function mynote_enqueue_comment_reply() {
	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
		wp_enqueue_script( 'comment-reply' );
	}
}

/**
 * Register mynote Navigation
 *
 * @return void
 */
function mynote_register_mynote_menu() {
	register_nav_menus(
		array(
			'header-menu'  => __( 'Header Menu', 'mynote' ),
			'sidebar-menu' => __( 'Sidebar Menu', 'mynote' ),
			'footer-menu'  => __( 'Footer Menu', 'mynote' ),
			'social'       => __( 'Social Links Menu', 'mynote' ),
		)
	);
}

/**
 * Register widget area.
 */
function mynote_widgets_init() {
	register_sidebar(
		array(
			'name'          => __( 'Sidebar', 'mynote' ),
			'id'            => 'sidebar-1',
			'description'   => __( 'Add widgets here to appear in your sidebar on blog posts.', 'mynote' ),
			'before_widget' => '<section id="%1$s" class="widget %2$s">',
			'after_widget'  => '</section>',
			'before_title'  => '<h2 class="widget-title">',
			'after_title'   => '</h2>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Footer', 'mynote' ),
			'id'            => 'sidebar-2',
			'description'   => __( 'Add widgets here to appear in your footer.', 'mynote' ),
			'before_widget' => '<section id="%1$s" class="widget %2$s col-lg col-md-4 col-sm-12">',
			'after_widget'  => '</section>',
			'before_title'  => '<h2 class="widget-title">',
			'after_title'   => '</h2>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Sticky Sidebar', 'mynote' ),
			'id'            => 'sidebar-3',
			'description'   => __( 'Add widgets here to appear in your sidebar on blog posts and archive pages.', 'mynote' ),
			'before_widget' => '<section id="%1$s" class="widget %2$s">',
			'after_widget'  => '</section>',
			'before_title'  => '<h2 class="widget-title">',
			'after_title'   => '</h2>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Homepage Middle', 'mynote' ),
			'id'            => 'sidebar-4',
			'description'   => __( 'Add widgets here to appear in your homepage middle section.', 'mynote' ),
			'before_widget' => '<section id="%1$s" class="widget %2$s col-lg col-md-4 col-sm-12">',
			'after_widget'  => '</section>',
			'before_title'  => '<h2 class="widget-title">',
			'after_title'   => '</h2>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Homepage Intro', 'mynote' ),
			'id'            => 'sidebar-5',
			'description'   => __( 'Add widgets here to appear in your homepage intro section.', 'mynote' ),
			'before_widget' => '<section id="%1$s" class="widget %2$s my-2 col-lg-12">',
			'after_widget'  => '</section>',
			'before_title'  => '<h2 class="widget-title">',
			'after_title'   => '</h2>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Homepage Sidebar', 'mynote' ),
			'id'            => 'sidebar-6',
			'description'   => __( 'Add widgets here to appear in your sidebar on homepage.', 'mynote' ),
			'before_widget' => '<section id="%1$s" class="widget %2$s">',
			'after_widget'  => '</section>',
			'before_title'  => '<h2 class="widget-title">',
			'after_title'   => '</h2>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Archive Sidebar', 'mynote' ),
			'id'            => 'sidebar-7',
			'description'   => __( 'Add widgets here to appear in your sidebar on archive pages.', 'mynote' ),
			'before_widget' => '<section id="%1$s" class="widget %2$s">',
			'after_widget'  => '</section>',
			'before_title'  => '<h2 class="widget-title">',
			'after_title'   => '</h2>',
		)
	);

	register_widget( 'Mynote_Widget_Toc' );
}

// I still don't know why should I put this line to ignore theme-check warning.
if ( ! isset( $content_width ) ) {
	$content_width = 900;
}

if ( ! function_exists( 'wp_body_open' ) ) {
	/**
	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
	 *
	 * @since WP 5.2.0
	 */
	function wp_body_open() {
		do_action( 'wp_body_open' );
	}
}

/**
 * Customizer additions.
 */
if ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) {
	require get_parent_theme_file_path( '/inc/customizer.php' );
}

/**
 * Implement the Custom Header feature.
 */
require get_parent_theme_file_path( '/inc/customize-css.php' );

/**
 * Custom Walker_Nav_Menu for Mynote theme header menu.
 */
require get_parent_theme_file_path( '/inc/classes/navbar/class-mynote-walker.php' );

/**
 * Sticky TOC widget for single post.
 */
require get_parent_theme_file_path( '/inc/classes/widgets/class-mynote-widget-toc.php' );

/**
 * Custom template tags for this theme.
 */
require get_parent_theme_file_path( '/inc/template-tags.php' );

/**
 * Additional features to allow styling of the templates.
 */
require get_parent_theme_file_path( '/inc/template-functions.php' );

/**
 * Social icon functions.
 */
require get_parent_theme_file_path( '/inc/icon-functions.php' );

/**
 * Mynote template functions for hooks.
 */
require get_parent_theme_file_path( '/inc/template-hook-functions.php' );

/**
 * Hooks for Mynote theme.
 */
require get_parent_theme_file_path( '/inc/template-hooks.php' );


================================================
FILE: header.php
================================================
<?php
/**
 * The header part of Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.0
 * @version 2.0.0
 */

?><!doctype html>
<html <?php language_attributes(); ?> class="no-js">
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<?php
		/**
		 * Hook: mynote_head
		 */
		do_action( 'mynote_head' );

		wp_head();
	?>

</head>
<body <?php body_class( mynote_body_class() ); ?>>

	<?php wp_body_open(); ?>

	<?php
		/**
		 * Hook: mynote_header_after
		 */
		do_action( 'mynote_site_wrapper_before' );
	?>

	<div class="wrapper">

		<?php
			/**
			 * Hook: mynote_header_after
			 */
			do_action( 'mynote_header_before' );
		?>

		<header class="header clear" role="banner">
			<div class="container">

				<?php
					/**
					 * Hook: mynote_header
					 *
					 * @hooked mynote_header_navigation - 10
					 */
					do_action( 'mynote_header' );
				?>

			</div><!-- .container -->
		</header>

		<?php
			/**
			 * Hook: mynote_header_after
			 */
			do_action( 'mynote_header_after' );
		?>


================================================
FILE: inc/assets/css/index.html
================================================


================================================
FILE: inc/assets/css/mynote-alpha-color-picker.css
================================================
/**
 * Alpha Color Picker CSS
 */
.customize-control-alpha-color .wp-picker-container {
  max-width: 257px;
}
.customize-control-alpha-color .wp-picker-container .iris-picker {
  border-bottom: none;
}
.customize-control-alpha-color .wp-picker-open + .wp-picker-input-wrap {
  width: 100%;
}
.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
  float: left;
  width: 195px;
}
.customize-control-alpha-color .wp-picker-input-wrap .button {
  margin-left: 0;
  float: right;
}

.wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container {
  display: block;
}

.alpha-color-picker-container {
  border: 1px solid #dfdfdf;
  border-top: none;
  display: none;
  background: #FFF;
  padding: 0 11px 10px;
  position: relative;
}
.alpha-color-picker-container .ui-widget-content, .alpha-color-picker-container .ui-widget-header {
  background: transparent;
  border: none;
}

.alpha-color-picker-wrap .ui-state-focus {
  background: transparent;
  border: none;
}
.alpha-color-picker-wrap a.iris-square-value:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.alpha-color-picker-container .ui-slider {
  position: relative;
  z-index: 1;
  height: 24px;
  text-align: center;
  margin: 0 auto;
  width: 88%;
  width: calc( 100% - 28px );
}
.alpha-color-picker-container .ui-slider-handle, .alpha-color-picker-container .ui-widget-content .ui-state-default {
  color: #777;
  background-color: #FFF;
  text-shadow: 0 1px 0 #FFF;
  text-decoration: none;
  position: absolute;
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid #aaa;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin-top: -2px;
  top: 0;
  height: 26px;
  width: 26px;
  cursor: ew-resize;
  font-size: 0;
  padding: 0;
  line-height: 27px;
  margin-left: -14px;
}
.alpha-color-picker-container .ui-slider-handle.show-opacity {
  font-size: 12px;
}
.alpha-color-picker-container .click-zone {
  width: 14px;
  height: 24px;
  display: block;
  position: absolute;
  left: 10px;
}
.alpha-color-picker-container .max-click-zone {
  right: 10px;
  left: auto;
}
.alpha-color-picker-container .transparency {
  height: 24px;
  width: 100%;
  background-color: #FFF;
  background-image: url(../images/mynote-transparency-grid.png);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 0;
  margin-top: -24px;
}

@media only screen and (max-width: 782px) {
  .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
    width: 184px;
  }
}
@media only screen and (max-width: 640px) {
  .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
    width: 172px;
    height: 33px;
  }
}


================================================
FILE: inc/assets/css/mynote-image-radio.css
================================================
.radio-controls {
  margin-top: 15px;
}
.radio-controls .radio-img {
  border: 3px solid #cccccc;
  margin: 0;
  cursor: pointer;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.radio-controls .radio-img-selected {
  border: 4px solid #00aeff;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.radio-controls li {
  text-align: center;
  padding: 5px;
}


================================================
FILE: inc/assets/css/mynote-toggle.css
================================================
.toggle-controls {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.disabled-control-title {
  color: #a0a5aa;
}

input[type=checkbox].mn-toggle {
  display: none;
  box-sizing: border-box;
}
input[type=checkbox].mn-toggle:after, input[type=checkbox].mn-toggle:before {
  box-sizing: border-box;
}
input[type=checkbox].mn-toggle * {
  box-sizing: border-box;
}
input[type=checkbox].mn-toggle *:after, input[type=checkbox].mn-toggle *:before {
  box-sizing: border-box;
}
input[type=checkbox].mn-toggle + .mn-toggle-btn {
  box-sizing: border-box;
}
input[type=checkbox].mn-toggle::-moz-selection, input[type=checkbox].mn-toggle:after::-moz-selection, input[type=checkbox].mn-toggle:before::-moz-selection {
  background: none;
}
input[type=checkbox].mn-toggle *::-moz-selection, input[type=checkbox].mn-toggle *:after::-moz-selection, input[type=checkbox].mn-toggle *:before::-moz-selection {
  background: none;
}
input[type=checkbox].mn-toggle + .mn-toggle-btn::-moz-selection, input[type=checkbox].mn-toggle::selection, input[type=checkbox].mn-toggle:after::selection, input[type=checkbox].mn-toggle:before::selection {
  background: none;
}
input[type=checkbox].mn-toggle *::selection, input[type=checkbox].mn-toggle *:after::selection, input[type=checkbox].mn-toggle *:before::selection {
  background: none;
}
input[type=checkbox].mn-toggle + .mn-toggle-btn {
  width: 4em;
  height: 2em;
  position: relative;
  display: block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  outline: 0;
}
input[type=checkbox].mn-toggle + .mn-toggle-btn::selection {
  background: none;
}
input[type=checkbox].mn-toggle + .mn-toggle-btn:after, input[type=checkbox].mn-toggle + .mn-toggle-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
input[type=checkbox].mn-toggle + .mn-toggle-btn:after {
  left: 0;
}
input[type=checkbox].mn-toggle + .mn-toggle-btn:before {
  display: none;
}
input[type=checkbox].mn-toggle:checked + .mn-toggle-btn:after {
  left: 50%;
}
input[type=checkbox].mn-toggle-blue + .mn-toggle-btn {
  background: #f0f0f0;
  border-radius: 2em;
  padding: 2px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
input[type=checkbox].mn-toggle-blue + .mn-toggle-btn:after {
  border-radius: 50%;
  background: #fff;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}
input[type=checkbox].mn-toggle-blue:checked + .mn-toggle-btn {
  background: #9fd5af;
}
input[type=checkbox].mn-toggle-blue:checked + .mn-toggle-btn {
  background: #0085ba;
}
input[type=checkbox].mn-toggle-blue + .mn-toggle-btn {
  background: #a0aaaa;
}
input[type=checkbox].mn-toggle-blue + .mn-toggle-btn:after {
  background: #f7f7f7;
}


================================================
FILE: inc/assets/images/index.html
================================================


================================================
FILE: inc/assets/index.html
================================================


================================================
FILE: inc/assets/js/index.html
================================================


================================================
FILE: inc/assets/js/mynote-alpha-color-picker.js
================================================
/**
 * Alpha Color Picker JS
 *
 * This file includes several helper functions and the core control JS.
 */

/**
 * Override the stock color.js toString() method to add support for
 * outputting RGBa or Hex.
 */
Color.prototype.toString = function( flag ) {

	// If our no-alpha flag has been passed in, output RGBa value with 100% opacity.
	// This is used to set the background color on the opacity slider during color changes.
	if ( 'no-alpha' == flag ) {
		return this.toCSS( 'rgba', '1' ).replace( /\s+/g, '' );
	}

	// If we have a proper opacity value, output RGBa.
	if ( 1 >= this._alpha ) {
		return this.toCSS( 'rgba', this._alpha ).replace( /\s+/g, '' );
	}

	// Proceed with stock color.js hex output.
	var hex = parseInt( this._color, 10 ).toString( 16 );
	if ( this.error ) { return ''; }
	if ( hex.length < 6 ) {
		for ( var i = 6 - hex.length - 1; i >= 0; i-- ) {
			hex = '0' + hex;
		}
	}

	return '#' + hex;
};

/**
 * Given an RGBa, RGB, or hex color value, return the alpha channel value.
 */
function acp_get_alpha_value_from_color( value ) {
	var alphaVal;

	// Remove all spaces from the passed in value to help our RGBa regex.
	value = value.replace( / /g, '' );

	if ( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ ) ) {
		alphaVal = parseFloat( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ )[1] ).toFixed(2) * 100;
		alphaVal = parseInt( alphaVal );
	} else {
		alphaVal = 100;
	}

	return alphaVal;
}

/**
 * Force update the alpha value of the color picker object and maybe the alpha slider.
 */
 function acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, update_slider ) {
	var iris, colorPicker, color;

	iris = $control.data( 'a8cIris' );
	colorPicker = $control.data( 'wpWpColorPicker' );

	// Set the alpha value on the Iris object.
	iris._color._alpha = alpha;

	// Store the new color value.
	color = iris._color.toString();

	// Set the value of the input.
	$control.val( color );

	// Update the background color of the color picker.
	colorPicker.toggler.css({
		'background-color': color
	});

	// Maybe update the alpha slider itself.
	if ( update_slider ) {
		acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
	}

	// Update the color value of the color picker object.
	$control.wpColorPicker( 'color', color );
}

/**
 * Update the slider handle position and label.
 */
function acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ) {
	$alphaSlider.slider( 'value', alpha );
	$alphaSlider.find( '.ui-slider-handle' ).text( alpha.toString() );
}

/**
 * Initialization trigger.
 */
jQuery( document ).ready( function( $ ) {

	// Loop over each control and transform it into our color picker.
	$( '.alpha-color-control' ).each( function() {

		var $parent = $( this ).closest( 'li.customize-control-alpha-color' );

		$parent.find( 'div.customize-control-notifications-container' ).prependTo( $parent );
		$parent.find( 'span.customize-control-description' ).prependTo( $parent );
		$parent.find( 'span.customize-control-title' ).prependTo( $parent );
		
		// Scope the vars.
		var $control, startingColor, paletteInput, showOpacity, defaultColor, palette,
			colorPickerOptions, $container, $alphaSlider, alphaVal, sliderOptions;

		// Store the control instance.
		$control = $( this );

		// Get a clean starting value for the option.
		startingColor = $control.val().replace( /\s+/g, '' );

		// Get some data off the control.
		paletteInput = $control.attr( 'data-palette' );
		showOpacity  = $control.attr( 'data-show-opacity' );
		defaultColor = $control.attr( 'data-default-color' );

		// Process the palette.
		if ( paletteInput.indexOf( '|' ) !== -1 ) {
			palette = paletteInput.split( '|' );
		} else if ( 'false' == paletteInput ) {
			palette = false;
		} else {
			palette = true;
		}

		// Set up the options that we'll pass to wpColorPicker().
		colorPickerOptions = {
			change: function( event, ui ) {
				var key, value, alpha, $transparency;

				key = $control.attr( 'data-customize-setting-link' );
				value = $control.wpColorPicker( 'color' );

				// Set the opacity value on the slider handle when the default color button is clicked.
				if ( defaultColor == value ) {
					alpha = acp_get_alpha_value_from_color( value );
					$alphaSlider.find( '.ui-slider-handle' ).text( alpha );
				}

				// Send ajax request to wp.customize to trigger the Save action.
				wp.customize( key, function( obj ) {
					obj.set( value );
				});

				$transparency = $container.find( '.transparency' );

				// Always show the background color of the opacity slider at 100% opacity.
				$transparency.css( 'background-color', ui.color.toString( 'no-alpha' ) );
			},
			palettes: palette // Use the passed in palette.
		};

		// Create the colorpicker.
		$control.wpColorPicker( colorPickerOptions );

		$container = $control.parents( '.wp-picker-container:first' );

		// Insert our opacity slider.
		$( '<div class="alpha-color-picker-container">' +
				'<div class="min-click-zone click-zone"></div>' +
				'<div class="max-click-zone click-zone"></div>' +
				'<div class="alpha-slider"></div>' +
				'<div class="transparency"></div>' +
			'</div>' ).appendTo( $container.find( '.wp-picker-holder' ) );

		$alphaSlider = $container.find( '.alpha-slider' );

		// If starting value is in format RGBa, grab the alpha channel.
		alphaVal = acp_get_alpha_value_from_color( startingColor );

		// Set up jQuery UI slider() options.
		sliderOptions = {
			create: function( event, ui ) {
				var value = $( this ).slider( 'value' );

				// Set up initial values.
				$( this ).find( '.ui-slider-handle' ).text( value );
				$( this ).siblings( '.transparency ').css( 'background-color', startingColor );
			},
			value: alphaVal,
			range: 'max',
			step: 1,
			min: 0,
			max: 100,
			animate: 300
		};

		// Initialize jQuery UI slider with our options.
		$alphaSlider.slider( sliderOptions );

		// Maybe show the opacity on the handle.
		if ( 'true' == showOpacity ) {
			$alphaSlider.find( '.ui-slider-handle' ).addClass( 'show-opacity' );
		}

		// Bind event handlers for the click zones.
		$container.find( '.min-click-zone' ).on( 'click', function() {
			acp_update_alpha_value_on_color_control( 0, $control, $alphaSlider, true );
		});
		$container.find( '.max-click-zone' ).on( 'click', function() {
			acp_update_alpha_value_on_color_control( 100, $control, $alphaSlider, true );
		});

		// Bind event handler for clicking on a palette color.
		$container.find( '.iris-palette' ).on( 'click', function() {
			var color, alpha;

			color = $( this ).css( 'background-color' );
			alpha = acp_get_alpha_value_from_color( color );

			acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );

			// Sometimes Iris doesn't set a perfect background-color on the palette,
			// for example rgba(20, 80, 100, 0.3) becomes rgba(20, 80, 100, 0.298039).
			// To compensante for this we round the opacity value on RGBa colors here
			// and save it a second time to the color picker object.
			if ( alpha != 100 ) {
				color = color.replace( /[^,]+(?=\))/, ( alpha / 100 ).toFixed( 2 ) );
			}

			$control.wpColorPicker( 'color', color );
		});

		// Bind event handler for clicking on the 'Clear' button.
		$container.find( '.button.wp-picker-clear' ).on( 'click', function() {
			var key = $control.attr( 'data-customize-setting-link' );

			// The #fff color is delibrate here. This sets the color picker to white instead of the
			// defult black, which puts the color picker in a better place to visually represent empty.
			$control.wpColorPicker( 'color', '#ffffff' );

			// Set the actual option value to empty string.
			wp.customize( key, function( obj ) {
				obj.set( '' );
			});

			acp_update_alpha_value_on_alpha_slider( 100, $alphaSlider );
		});

		// Bind event handler for clicking on the 'Default' button.
		$container.find( '.button.wp-picker-default' ).on( 'click', function() {
			var alpha = acp_get_alpha_value_from_color( defaultColor );

			acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
		});

		// Bind event handler for typing or pasting into the input.
		$control.on( 'input', function() {
			var value = $( this ).val();
			var alpha = acp_get_alpha_value_from_color( value );

			acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
		});

		// Update all the things when the slider is interacted with.
		$alphaSlider.slider().on( 'slide', function( event, ui ) {
			var alpha = parseFloat( ui.value ) / 100.0;

			acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, false );

			// Change value shown on slider handle.
			$( this ).find( '.ui-slider-handle' ).text( ui.value );
		});
	});
});


================================================
FILE: inc/assets/js/mynote-image-radio.js
================================================
/**
 * Customize_Image_Radio_Control
 *
 * Use the image instead of origin radio button.
 *
 * @package   WordPress
 * @author    Terry Lin <terrylinooo>
 * @license   GPLv3 (or later)
 * @link      https://terryl.in
 * @copyright 2018 Terry Lin
 */
jQuery( document ).ready( function( $ ) {
    $( '.radio-controls li img' ).click (function () {
        $( '.radio-controls li' ).each( function () {
            $( this ).find( 'img' ).removeClass( 'radio-img-selected' );
        });
        $( this ).addClass( 'radio-img-selected' );
    });
});

================================================
FILE: inc/assets/scss/config.rb
================================================
require 'compass/import-once/activate'
# Require any additional compass plugins here.
relative_assets = true

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "../css"
sass_dir = ""
images_dir = "../images"
javascripts_dir = "../js"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
line_comments = false
environment = :production
output_style = :expanded

# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
# 
Encoding.default_external = Encoding.find('utf-8')
#require 'compass-normalize'

cache = false

================================================
FILE: inc/assets/scss/index.html
================================================


================================================
FILE: inc/assets/scss/mynote-alpha-color-picker.scss
================================================
/**
 * Alpha Color Picker CSS
 */

 .customize-control-alpha-color {
	.wp-picker-container {
		.iris-picker {
				border-bottom: none;
			}
		max-width: 257px;
	}
	.wp-picker-open + .wp-picker-input-wrap {
		width: 100%;
	}
	.wp-picker-input-wrap {
		input[type="text"].wp-color-picker.alpha-color-control {
			float: left;
			width: 195px;
		}
		.button {
			margin-left: 0;
			float: right;
		}
	}
}
	
.wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container {
	display: block;
}
	
.alpha-color-picker-container {
	border: 1px solid #dfdfdf;
	border-top: none;
	display: none;
	background: #FFF;
	padding: 0 11px 10px;
	position: relative;
	.ui-widget-content, .ui-widget-header {
		background: transparent;
		border: none;
	}
}

.alpha-color-picker-wrap {
	.ui-state-focus {
		background: transparent;
		border: none;
	}
	a.iris-square-value:focus {
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}

.alpha-color-picker-container {
	.ui-slider {
		position: relative;
		z-index: 1;
		height: 24px;
		text-align: center;
		margin: 0 auto;
		width: 88%;
		width: calc( 100% - 28px );
	}
	.ui-slider-handle, .ui-widget-content .ui-state-default {
		color: #777;
		background-color: #FFF;
		text-shadow: 0 1px 0 #FFF;
		text-decoration: none;
		position: absolute;
		z-index: 2;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
		border: 1px solid #aaa;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		margin-top: -2px;
		top: 0;
		height: 26px;
		width: 26px;
		cursor: ew-resize;
		font-size: 0;
		padding: 0;
		line-height: 27px;
		margin-left: -14px;
	}
	.ui-slider-handle.show-opacity {
		font-size: 12px;
	}
	.click-zone {
		width: 14px;
		height: 24px;
		display: block;
		position: absolute;
		left: 10px;
	}
	.max-click-zone {
		right: 10px;
		left: auto;
	}
	.transparency {
		height: 24px;
		width: 100%;
		background-color: #FFF;
		background-image: url(../images/mynote-transparency-grid.png);
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		padding: 0;
		margin-top: -24px;
	}
}

@media only screen and (max-width: 782px) {
	.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
		width: 184px;
	}
}

@media only screen and (max-width: 640px) {
	.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
		width: 172px;
		height: 33px;
	}
}

================================================
FILE: inc/assets/scss/mynote-image-radio.scss
================================================
.radio-controls {
    margin-top: 15px;
    .radio-img {
        border: 3px solid #cccccc;
        margin: 0;
        cursor: pointer;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
    }
    .radio-img-selected {
        border: 4px solid #00aeff;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
    }
    li {
        text-align: center;
        padding: 5px;
    }
}

================================================
FILE: inc/assets/scss/mynote-toggle.scss
================================================
.toggle-controls {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
}

.disabled-control-title {
	color: #a0a5aa;
}

input[type=checkbox] {
	&.mn-toggle {
		display: none;
		box-sizing: border-box;
		&:after, &:before {
			box-sizing: border-box;
		}
		* {
			box-sizing: border-box;
			&:after, &:before {
				box-sizing: border-box;
			}
		}
		+ .mn-toggle-btn {
			box-sizing: border-box;
		}
		&::-moz-selection, &:after::-moz-selection, &:before::-moz-selection {
			background: none;
		}
		* {
			&::-moz-selection, &:after::-moz-selection, &:before::-moz-selection {
				background: none;
			}
		}
		+ .mn-toggle-btn::-moz-selection, &::selection, &:after::selection, &:before::selection {
			background: none;
		}
		* {
			&::selection, &:after::selection, &:before::selection {
				background: none;
			}
		}
		+ .mn-toggle-btn {
			&::selection {
				background: none;
            }
            
            width: 4em;
            height: 2em;
            position: relative;
            display: block;
            -webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
            user-select: none;
            cursor: pointer;
			outline: 0;

			&:after, &:before {
				position: relative;
				display: block;
				content: "";
				width: 50%;
				height: 100%;
			}
			&:after {
				left: 0;
			}
			&:before {
				display: none;
			}
		}
		&:checked + .mn-toggle-btn:after {
			left: 50%;
		}
	}
	&.mn-toggle-blue {
		+ .mn-toggle-btn {
			background: #f0f0f0;
			border-radius: 2em;
			padding: 2px;
			-webkit-transition: all .5s ease;
			transition: all .5s ease;
			&:after {
				border-radius: 50%;
				background: #fff;
				-webkit-transition: all .2s ease;
				transition: all .2s ease;
			}
		}
		&:checked + .mn-toggle-btn {
			background: #9fd5af;
		}
	}
	
    &.mn-toggle-blue {
		&:checked + .mn-toggle-btn {
			background: #0085ba;
		}
		+ .mn-toggle-btn {
			background: #a0aaaa;
			&:after {
				background: #f7f7f7;
			}
		}
	}
}


================================================
FILE: inc/classes/customizer/class-customize-alpha-color-control.php
================================================
<?php
/**
 * Alpha Color Picker Customizer Control
 *
 * This control adds a second slider for opacity to the stock WordPress color picker,
 * and it includes logic to seamlessly convert between RGBa and Hex color values as
 * opacity is added to or removed from a color.
 *
 * This Alpha Color Picker is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this Alpha Color Picker. If not, see <http://www.gnu.org/licenses/>.
 */
class Customize_Alpha_Color_Control extends WP_Customize_Control {

	/**
	 * Official control name.
	 */
	public $type = 'alpha-color';

	/**
	 * Add support for palettes to be passed in.
	 *
	 * Supported palette values are true, false, or an array of RGBa and Hex colors.
	 */
	public $palette;

	/**
	 * Add support for showing the opacity value on the slider handle.
	 */
	public $show_opacity;

	/**
	 * Enqueue scripts and styles.
	 *
	 * Ideally these would get registered and given proper paths before this control object
	 * gets initialized, then we could simply enqueue them here, but for completeness as a
	 * stand alone class we'll register and enqueue them here.
	 */
	public function enqueue() {
		wp_enqueue_script( $this->type, get_template_directory_uri() . '/inc/assets/js/mynote-alpha-color-picker.js', array( 'jquery' ), '1.0.0', true );
		wp_enqueue_style( $this->type, get_template_directory_uri() . '/inc/assets/css/mynote-alpha-color-picker.css', array(), '1.0.0' );
	}

	/**
	 * Render the control.
	 */
	public function render_content() {

		// Process the palette
		if ( is_array( $this->palette ) ) {
			$palette = implode( '|', $this->palette );
		} else {
			// Default to true.
			$palette = ( false === $this->palette || 'false' === $this->palette ) ? 'false' : 'true';
		}

		// Support passing show_opacity as string or boolean. Default to true.
		$show_opacity = ( false === $this->show_opacity || 'false' === $this->show_opacity ) ? 'false' : 'true';

		// Begin the output. ?>
		<label>
			<?php
			// Output the label and description if they were passed in.
			if ( isset( $this->label ) && '' !== $this->label ) {
				echo '<span class="customize-control-title">' . sanitize_text_field( $this->label ) . '</span>';
			}
			if ( isset( $this->description ) && '' !== $this->description ) {
				echo '<span class="description customize-control-description">' . sanitize_text_field( $this->description ) . '</span>';
			}
			?>
			<input class="alpha-color-control" type="text" data-show-opacity="<?php echo $show_opacity; ?>" data-palette="<?php echo esc_attr( $palette ); ?>" data-default-color="<?php echo esc_attr( $this->settings['default']->default ); ?>" <?php $this->link(); ?>  />
		</label>
		<?php
	}
}


================================================
FILE: inc/classes/customizer/class-customize-content-control.php
================================================
<?php
/**
 * Customize_Content_Control
 *
 * Use the image instead of origin radio button.
 *
 * @package   WordPress
 * @author    Terry Lin <terrylinooo>
 * @license   GPLv3 (or later)
 * @link      https://terryl.in
 * @copyright 2018 Terry Lin
 */

class Customize_Content_Control extends WP_Customize_Control {

	/**
	 * Define control type.
	 */
	public $type = 'content';

	/**
	 * Render the control.
	 */
	public function render_content() {

		if ( isset( $this->label ) && '' !== $this->label ) {
			echo '<span class="customize-control-title">' . $this->label . '</span>';
		}

		if ( isset( $this->input_attrs['content'] ) ) {
			echo $this->input_attrs['content'];
		}

		if ( isset( $this->description ) ) {
			echo '<span class="description customize-control-description">' . $this->description . '</span>';
		}
	}
}



================================================
FILE: inc/classes/customizer/class-customize-image-radio-control.php
================================================
<?php
/**
 * Customize_Image_Radio_Control
 *
 * Use the image instead of origin radio button.
 *
 * @package   WordPress
 * @author    Terry Lin <terrylinooo>
 * @license   GPLv3 (or later)
 * @link      https://terryl.in
 * @copyright 2018 Terry Lin
 */

class Customize_Image_Radio_Control extends WP_Customize_Control {

	/**
	 * Define control type.
	 */
	public $type = 'image-radio';

	/**
	 * Enqueue scripts and styles.
	 */
	public function enqueue() {
		wp_enqueue_script( $this->type, get_template_directory_uri() . '/inc/assets/js/mynote-image-radio.js', array( 'jquery' ), '1.0.0', true );
		wp_enqueue_style( $this->type, get_template_directory_uri() . '/inc/assets/css/mynote-image-radio.css', array(), '1.0.0' );
	}

	/**
	 * Render the control.
	 */
	public function render_content() {

		if ( empty( $this->choices ) ) {
			return;
		}

		$name = 'customize-radio-' . $this->id;

		if ( isset( $this->label ) && '' !== $this->label ) {
			echo '<span class="customize-control-title">' . sanitize_text_field( $this->label ) . '</span>';
		}

		if ( isset( $this->description ) && '' !== $this->description ) {
			echo '<span class="description customize-control-description">' . sanitize_text_field( $this->description ) . '</span>';
		}

		?>

		<ul class="radio-controls">
			<?php
			foreach ( $this->choices as $value => $label ) {
				$class = ( $this->value() === $value ) ? 'radio-img-selected radio-img' : 'radio-img';
				?>
				<li>
					<label>
						<input style="display:none" type="radio" value="<?php echo esc_attr( $value ); ?>" name="<?php echo esc_attr( $name ); ?>" 
						<?php checked( $this->value(), $value ); ?> 
						<?php $this->link(); ?> />
						<img src="<?php echo esc_url( $label ); ?>" class="<?php echo esc_attr( $class ); ?>" />
					</label>
				</li>
				<?php
			}
			?>
		</ul>
		<?php
	}
}


================================================
FILE: inc/classes/customizer/class-customize-toggle-control.php
================================================
<?php
/**
 * Customize_Toggle_Control
 *
 * Use the CSS toggle button inteaf of checkbox.
 *
 * @package   WordPress
 * @author    Terry Lin <terrylinooo>
 * @license   GPLv3 (or later)
 * @link      https://terryl.in
 * @copyright 2018 Terry Lin
 */

class Customize_Toggle_Control extends WP_Customize_Control {

	/**
	 * Define control type.
	 */
	public $type = 'checkbox-toggle';

	/**
	 * Enqueue scripts and styles.
	 */
	public function enqueue() {
		wp_enqueue_style( $this->type, get_template_directory_uri() . '/inc/assets/css/mynote-toggle.css', array(), '1.0.0' );
	}

	/**
	 * Render the control's content.
	 */
	public function render_content() {
		?>

		<div class="toggle-controls">
			<span class="customize-control-title" style="flex: 2 0 0; vertical-align: middle;">
				<?php echo esc_html( $this->label ); ?>
			</span>
			<input id="mn-<?php echo $this->instance_number; ?>" type="checkbox" class="mn-toggle mn-toggle-blue" value="<?php echo esc_attr( $this->value() ); ?>" 
			<?php checked( $this->value() ); ?> 
			<?php $this->link(); ?> />
			<label for="mn-<?php echo $this->instance_number; ?>" class="mn-toggle-btn"></label>
		</div>

		<?php

		if ( isset( $this->description ) ) {
			echo '<span class="description customize-control-description">' . $this->description . '</span>';
		}
	}
}


================================================
FILE: inc/classes/customizer/index.html
================================================


================================================
FILE: inc/classes/index.html
================================================


================================================
FILE: inc/classes/navbar/class-mynote-walker.php
================================================
<?php
/**
 * Mynote_Walker
 * Custom nav menu by using Bootscrap 4.
 * Bootscrap 4 CSS file is required.
 * https://getbootstrap.com/docs/4.1/getting-started/download/
 *
 * This is a stable version and will not be modified anymore.
 *
 * @package   WordPress
 * @author    Terry Lin <terrylinooo>
 * @license   GPLv3 (or later)
 * @link      https://terryl.in
 * @copyright 2018 Terry Lin
 */

/**
 * Mynote_Walker
 */
class Mynote_Walker extends Walker_Nav_Menu {
	/**
	 * Constructer.
	 */
	public function __construct() {
		add_filter(
			'nav_menu_css_class',
			function( $classes, $item, $args, $depth ) {
				unset( $classes );
				return array();
			},
			10,
			4
		);
	}

	/**
	 * Starts the list before the elements are added.
	 *
	 * @param string  $output Used to append additional content (passed by reference).
	 * @param integer $depth  Depth of menu item. Used for padding.
	 * @param object   $args   An object of wp_nav_menu() arguments.
	 * @return void
	 */
	public function start_lvl( &$output, $depth = 0, $args = null ) {
		$output .= '<div class="dropdown-menu">';
	}

	/**
	 * Ends the list of after the elements are added.
	 *
	 * @param string  $output Used to append additional content (passed by reference).
	 * @param integer $depth  Depth of menu item. Used for padding.
	 * @param object  $args   An object of wp_nav_menu() arguments.
	 * @return void
	 */
	public function end_lvl( &$output, $depth = 0, $args = null ) {
		$output .= '</div>';
	}

	/**
	 * Starts the element output.
	 *
	 * @param string  $output Used to append additional content (passed by reference).
	 * @param object  $item   Menu item data object.
	 * @param integer $depth  Depth of menu item. Used for padding.
	 * @param object  $args   An object of wp_nav_menu() arguments.
	 * @param integer $id     Current item ID.
	 * @return void
	 */
	public function start_el( &$output, $item, $depth = 0, $args = null, $id = 0 ) {
		$classes      = empty( $item->classes ) ? array() : (array) $item->classes;
		$classes[]    = 'menu-item-' . $item->ID;
		$class_names  = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args, $depth ) );
		$class_names .= ' nav-item';

		if ( in_array( 'menu-item-has-children', $classes, true ) ) {
			$class_names .= ' dropdown';
		}

		if ( in_array( 'current-menu-item', $classes, true ) ) {
			$class_names .= ' active';
		}

		$class_names = $class_names ? ' class="' . esc_attr( trim( $class_names ) ) . '"' : '';
		$class_names = trim( $class_names );
		$id          = apply_filters( 'nav_menu_item_id', 'menu-item-' . $item->ID, $item, $args, $depth );
		$id          = $id ? ' id="' . esc_attr( $id ) . '"' : '';

		if ( 0 === $depth ) {
			$output .= '<li ' . $id . ' ' . $class_names . '>';
		}

		$atts = array();

		$atts['title']  = ! empty( $item->attr_title ) ? $item->attr_title : '';
		$atts['target'] = ! empty( $item->target ) ? $item->target : '';
		$atts['rel']    = ! empty( $item->xfn ) ? $item->xfn : '';
		$atts['href']   = ! empty( $item->url ) ? $item->url : '';

		if ( 0 === $depth ) {
			$atts['class'] = 'nav-link';
		}

		if ( 0 === $depth && in_array( 'menu-item-has-children', $classes, true ) ) {
			$atts['class']      .= ' dropdown-toggle';
			$atts['data-toggle'] = 'dropdown';
		}

		if ( $depth > 0 ) {
			$manual_class  = array_values( $classes )[0] . ' dropdown-item';
			$atts['class'] = trim( $manual_class );
		}

		if ( in_array( 'current-menu-item', $item->classes, true ) ) {
			$atts['class'] .= ' active';
		}

		$atts       = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args, $depth );
		$attributes = '';

		foreach ( $atts as $attr => $value ) {
			if ( ! empty( $value ) ) {
				$value       = ( 'href' === $attr ) ? esc_url( $value ) : esc_attr( $value );
				$attributes .= ' ' . $attr . '="' . $value . '"';
			}
		}

		$item_output  = $args->before;
		$item_output .= '<a' . $attributes . '>';
		$item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
		$item_output .= '</a>';
		$item_output .= $args->after;
		$output      .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
	}

	/**
	 * Ends the element output, if needed.
	 *
	 * @param string  $output Used to append additional content (passed by reference).
	 * @param object  $item   Page data object. Not used.
	 * @param integer $depth  Depth of page. Not Used.
	 * @param array   $args   An object of wp_nav_menu() arguments.
	 * @return void
	 */
	public function end_el( &$output, $item, $depth = 0, $args = array() ) {
		if ( 0 === $depth ) {
			$output .= '</li>';
		}
	}
}


================================================
FILE: inc/classes/navbar/index.html
================================================


================================================
FILE: inc/classes/widgets/class-mynote-widget-toc.php
================================================
<?php
/**
 * Mynote_Widget__TOC
 *
 * Add a Table of Content for your article. This widget is for single-post pages only.
 *
 * @package   WordPress
 * @author    Terry Lin <terrylinooo>
 * @license   GPLv3 (or later)
 * @link      https://terryl.in
 * @copyright 2018 Terry Lin
 */

/**
 * Mynote_Widget_Toc
 */
class Mynote_Widget_Toc extends WP_Widget {

	/**
	 * Sets up a new Mynote TOC widget instance.
	 */
	public function __construct() {

		$widget_ops = array(
			'classname'                   => 'widget_mynote_toc',
			'description'                 => __( 'Add a Table of Content for your article. This widget is for single-post pages only.', 'mynote' ),
			'customize_selective_refresh' => true,
		);
		parent::__construct( 'mynote-toc', __( 'Mynote: Table of Content', 'mynote' ), $widget_ops );
		$this->alt_option_name = 'widget_mynote_toc';

		if ( is_active_widget( false, false, $this->id_base ) || is_customize_preview() ) {
			add_action( 'wp_head', array( $this, 'mynote_toc_js' ) );
		}
	}

	/**
	 * Register javascript for the Mynote TOC widget.
	 */
	public function mynote_toc_js() {
		wp_register_script( 'bootstrap-toc', get_template_directory_uri() . '/assets/js/bootstrap-toc.min.js', array( 'jquery' ), '1.0.0' );
		wp_enqueue_script( 'bootstrap-toc' );
	}

	/**
	 * Initial TOC .
	 */
	public function mynote_toc_inline_js() {

		$inline_js = '
			jQuery( document ).ready(function( $ ) {
				Toc.init({
					$nav: $( "#toc" ),
					$scope: $( ".markdown-body" )
				});

				if ( "undefined" !== typeof $.fn.scrollspy ) {
					$( "body" ).scrollspy({
						target: "#toc"
					});
				}
			});
		';

		wp_add_inline_script( 'bootstrap-toc', $inline_js );
	}

	/**
	 * Outputs the content for the Mynote TOC instance.
	 */
	public function widget( $args, $instance ) {
		$this->mynote_toc_inline_js();

		$output = '<nav id="toc" class="toc" role="navigation"></nav>';
		echo $output;
	}

	/**
	 * Flushes the Mynote TOC widget cache.
	 */
	public function flush_widget_cache() {
		_deprecated_function( __METHOD__, '4.4.0' );
	}
}


================================================
FILE: inc/customer/about.php
================================================
<?php
/**
 * Mynote theme customizer: About
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @version 1.3.0
 * @version 1.3.0
 */

/**
 * About
 *
 * @param WP_Customize_Manager $wp_customize
 * @return void
 */
function mynote_customize_about( $wp_customize ) {

	$wp_customize->add_section(
		'section_about_mynote_theme',
		array(
			'title'      => __( 'About Mynote Theme', 'mynote' ),
			'priority'   => 1,
			'capability' => 'edit_theme_options',
		)
	);

	$about  = __( 'Mynote is an open source project on GitHub, any suggestions to improve this theme are welcome. Please visit:', 'mynote' );
	$about .= '<br /><br /><a href="' . esc_url( 'https://github.com/terrylinooo/mynote' ) . '">https://github.com/terrylinooo/mynote</a>';

	/**
	 * Setting
	 */
	$wp_customize->add_setting(
		'setting_about_mynote_theme',
		array(
			'default'           => 'no',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'is_responsive_website',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	/**
	 * Control
	 */
	$wp_customize->add_control(
		new Customize_Content_Control(
			$wp_customize,
			'control_about_mynote_theme',
			array(
				'label'       => __( 'About', 'mynote' ),
				'section'     => 'section_about_mynote_theme',
				'settings'    => 'setting_about_mynote_theme',
				'description' => $about,
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'is_responsive_control',
			array(
				'label'       => __( 'RWD', 'mynote' ),
				'section'     => 'section_about_mynote_theme',
				'settings'    => 'is_responsive_website',
				'description' => __( 'Mynote is a responsive theme (RWD, responsive web design). However, if you would like to disable RWD, here it is.', 'mynote' ),
			)
		)
	);
}


================================================
FILE: inc/customer/homepage.php
================================================
<?php
/**
 * Mynote theme customizer: Homepage
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @version 1.3.0
 * @version 1.3.0
 */

/**
 * Homepage
 *
 * @param WP_Customize_Manager $wp_customize
 * @return void
 */
function mynote_customize_homepage( $wp_customize ) {

	/**
	 * Setting
	 * Add custom setting to bulti-in `static_front_page` section.
	 */
	$wp_customize->add_setting(
		'is_scroll_down_button',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	/**
	 * Control
	 */
	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'scroll_down_button_control',
			array(
				'label'       => __( 'Scrolling down button', 'mynote' ),
				'section'     => 'static_front_page',
				'settings'    => 'is_scroll_down_button',
				'description' => __( 'Would you like to display the scrolling down button? (desktop version)', 'mynote' ),
			)
		)
	);
}


================================================
FILE: inc/customer/index.html
================================================


================================================
FILE: inc/customer/layout.php
================================================
<?php
/**
 * Mynote theme customizer: Layout
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.3.0
 * @version 1.3.0
 */

/**
 * Layout
 *
 * @param WP_Customize_Manager $wp_customize
 * @return void
 */
function mynote_customize_layout( $wp_customize ) {

	/**
	 * Panel
	 */
	$wp_customize->add_panel(
		'panel_mynote_layout',
		array(
			'title'    => __( 'Layout', 'mynote' ),
			'priority' => 10,
		)
	);

	/**
	 * Section
	 */
	$wp_customize->add_section(
		'section_mynote_layout_home',
		array(
			'title'    => __( 'Homepage', 'mynote' ),
			'priority' => 10,
			'panel'    => 'panel_mynote_layout',
		)
	);

	$wp_customize->add_section(
		'section_mynote_layout_archive',
		array(
			'title'    => __( 'Archive', 'mynote' ),
			'priority' => 10,
			'panel'    => 'panel_mynote_layout',
		)
	);

	$wp_customize->add_section(
		'section_mynote_layout_post',
		array(
			'title'    => __( 'Post', 'mynote' ),
			'priority' => 10,
			'panel'    => 'panel_mynote_layout',
		)
	);

	$wp_customize->add_section(
		'section_mynote_layout_footer',
		array(
			'title'    => __( 'Footer', 'mynote' ),
			'priority' => 10,
			'panel'    => 'panel_mynote_layout',
		)
	);

	/**
	 * Setting
	 */
	$wp_customize->add_setting(
		'layout_post_sidebar_location_home',
		array(
			'default'           => 'right',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'layout_post_sidebar_location_archive',
		array(
			'default'           => 'right',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'layout_post_sidebar_location_post',
		array(
			'default'           => 'right',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'layout_cols_per_row_home',
		array(
			'default'           => '3',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'layout_cols_per_row_archive',
		array(
			'default'           => '3',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'layout_cols_footer_icon_size',
		array(
			'default'           => 'sm',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'layout_cols_footer_location',
		array(
			'default'           => '1',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	/**
	 * Control
	 */
	$wp_customize->add_control(
		new Customize_Image_Radio_Control(
			$wp_customize,
			'layout_sidebar_location_home_control',
			array(
				'label'       => __( 'Sidebar Location', 'mynote' ),
				'section'     => 'section_mynote_layout_home',
				'settings'    => 'layout_post_sidebar_location_home',
				'type'        => 'radio',
				'description' => __( 'Choose a preferred layout for desktop version.', 'mynote' ),
				'choices'     => array(
					'right' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_right.png',
					'left'  => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_left.png',
				),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Image_Radio_Control(
			$wp_customize,
			'layout_sidebar_location_archive_control',
			array(
				'label'       => __( 'Sidebar Location', 'mynote' ),
				'section'     => 'section_mynote_layout_archive',
				'settings'    => 'layout_post_sidebar_location_archive',
				'type'        => 'radio',
				'description' => __( 'Choose a preferred layout for desktop version.', 'mynote' ),
				'choices'     => array(
					'right' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_right.png',
					'left'  => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_left.png',
				),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Image_Radio_Control(
			$wp_customize,
			'layout_cols_per_row_home_control',
			array(
				'label'       => __( 'Columns', 'mynote' ),
				'section'     => 'section_mynote_layout_home',
				'settings'    => 'layout_cols_per_row_home',
				'type'        => 'radio',
				'description' => __( 'Adjust the number of columns per row.', 'mynote' ),
				'choices'     => array(
					'3' => get_template_directory_uri() . '/inc/assets/images/layout_3cols.png',
					'2' => get_template_directory_uri() . '/inc/assets/images/layout_2cols.png',
					'1' => get_template_directory_uri() . '/inc/assets/images/layout_1cols.png',
				),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Image_Radio_Control(
			$wp_customize,
			'layout_cols_per_row_archive_control',
			array(
				'label'       => __( 'Columns', 'mynote' ),
				'section'     => 'section_mynote_layout_archive',
				'settings'    => 'layout_cols_per_row_archive',
				'type'        => 'radio',
				'description' => __( 'Adjust the number of columns per row.', 'mynote' ),
				'choices'     => array(
					'3' => get_template_directory_uri() . '/inc/assets/images/layout_3cols.png',
					'2' => get_template_directory_uri() . '/inc/assets/images/layout_2cols.png',
					'1' => get_template_directory_uri() . '/inc/assets/images/layout_1cols.png',
				),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Image_Radio_Control(
			$wp_customize,
			'layout_sidebar_location_post_control',
			array(
				'label'       => __( 'Sidebar Location', 'mynote' ),
				'section'     => 'section_mynote_layout_post',
				'settings'    => 'layout_post_sidebar_location_post',
				'type'        => 'radio',
				'description' => __( 'Choose a preferred layout for desktop version.', 'mynote' ),
				'choices'     => array(
					'right' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_right.png',
					'left'  => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_left.png',
				),
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Control(
			$wp_customize,
			'layout_cols_footer_icon_size_control',
			array(
				'label'       => __( 'Social Icon Size', 'mynote' ),
				'section'     => 'section_mynote_layout_footer',
				'settings'    => 'layout_cols_footer_icon_size',
				'type'        => 'radio',
				'description' => __( 'Choose a preferred icon size.', 'mynote' ),
				'choices'     => array(
					'sm' => __( 'Small - 32 x 32', 'mynote' ),
					'md' => __( 'Medium - 40 x 40', 'mynote' ),
					'lg' => __( 'Large - 48 x 48', 'mynote' ),
					'xl' => __( 'Extra large - 64 x 64', 'mynote' ),
				),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Image_Radio_Control(
			$wp_customize,
			'layout_footer_location_post_control',
			array(
				'label'       => __( 'Footer Location', 'mynote' ),
				'section'     => 'section_mynote_layout_footer',
				'settings'    => 'layout_cols_footer_location',
				'type'        => 'radio',
				'description' => __( 'Choose a preferred layout for footer section.', 'mynote' ),
				'choices'     => array(
					'1' => get_template_directory_uri() . '/inc/assets/images/layout_footer_1.png',
					'2' => get_template_directory_uri() . '/inc/assets/images/layout_footer_2.png',
					'3' => get_template_directory_uri() . '/inc/assets/images/layout_footer_3.png',
					'4' => get_template_directory_uri() . '/inc/assets/images/layout_footer_4.png',
					'5' => get_template_directory_uri() . '/inc/assets/images/layout_footer_5.png',
					'6' => get_template_directory_uri() . '/inc/assets/images/layout_footer_6.png',
					'7' => get_template_directory_uri() . '/inc/assets/images/layout_footer_7.png',
				),
			)
		)
	);
}


================================================
FILE: inc/customer/navbar.php
================================================
<?php
/**
 * Mynote theme customizer: Navbar
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.3.0
 * @version 1.3.0
 */

/**
 * Navbar
 *
 * @param WP_Customize_Manager $wp_customize
 * @return void
 */
function mynote_customize_navbar( $wp_customize ) {

	/**
	 * Default setting variables.
	 */
	$default_navbar_color                = 'rgba(36, 41, 46, 1)';
	$default_navbar_link_color           = '#c8c9ca';
	$default_navbar_link_hover_color     = '#ffffff';
	$default_searchbar_placeholder_color = '#cccccc';
	$default_searchbar_input_text_color  = '#ffffff';
	$default_navbar_menu_toggle_color    = 'rgba(255, 255, 255, 1)';
	$default_navbar_menu_toggle_bg_color = 'transparent';
	$default_navbar_searchbar_bg_color   = 'rgba(255, 255, 255, 0.125);';

	$default_color_palette = array( 'rgb(36, 41, 46)', 'rgba(0, 107, 91)', 'rgba(0, 75, 152)', 'rgba(168, 19, 62)' );

	/**
	 * Panel
	 */
	$wp_customize->add_panel(
		'panel_mynote_navbar',
		array(
			'title'    => __( 'Navbar', 'mynote' ),
			'priority' => 10,
		)
	);

	/**
	 * Section
	 */
	$wp_customize->add_section(
		'section_homepage_header_navbar',
		array(
			'title'    => __( 'Homepage', 'mynote' ),
			'priority' => 10,
			'panel'    => 'panel_mynote_navbar',
		)
	);

	$wp_customize->add_section(
		'section_header_navbar',
		array(
			'title'    => __( 'Website', 'mynote' ),
			'priority' => 10,
			'panel'    => 'panel_mynote_navbar',
		)
	);

	$wp_customize->add_section(
		'section_header_searchbar',
		array(
			'title'    => __( 'Search Bar', 'mynote' ),
			'priority' => 10,
			'panel'    => 'panel_mynote_navbar',
		)
	);

	/**
	 * Setting
	 */
	$wp_customize->add_setting(
		'navbar_homepage_bg_color',
		array(
			'default'           => $default_navbar_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_homepage_link_color',
		array(
			'default'           => $default_navbar_link_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_homepage_link_hover_color',
		array(
			'default'           => $default_navbar_link_hover_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_homepage_menu_toggler_border_color',
		array(
			'default'           => $default_navbar_menu_toggle_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_homepage_menu_toggler_bg_color',
		array(
			'default'           => $default_navbar_menu_toggle_bg_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_website_bg_color',
		array(
			'default'           => $default_navbar_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_website_link_color',
		array(
			'default'           => $default_navbar_link_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_website_link_hover_color',
		array(
			'default'           => $default_navbar_link_hover_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_website_menu_toggler_border_color',
		array(
			'default'           => $default_navbar_menu_toggle_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_website_menu_toggler_bg_color',
		array(
			'default'           => $default_navbar_menu_toggle_bg_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_is_display_search_bar',
		array(
			'default'           => 'yes',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_searchbar_placeholder_color',
		array(
			'default'           => $default_searchbar_placeholder_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_searchbar_input_text_color',
		array(
			'default'           => $default_searchbar_input_text_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_searchbar_bg_color',
		array(
			'default'           => $default_navbar_searchbar_bg_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'navbar_searchbar_size',
		array(
			'default'           => 'default',
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	/**
	 * Control
	 */
	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'home_menu_bg_color_control',
			array(
				'label'        => __( 'Background Color', 'mynote' ),
				'description'  => __( 'This option is for homepage only.', 'mynote' ),
				'section'      => 'section_homepage_header_navbar',
				'settings'     => 'navbar_homepage_bg_color',
				'show_opacity' => true,
				'palette'      => $default_color_palette,
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'home_menu_link_color_control',
			array(
				'label'       => __( 'Link Color', 'mynote' ),
				'description' => __( 'This option is for homepage only.', 'mynote' ),
				'section'     => 'section_homepage_header_navbar',
				'settings'    => 'navbar_homepage_link_color',
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'home_menu_link_hover_color_control',
			array(
				'label'       => __( 'Link Hover Color', 'mynote' ),
				'description' => __( 'This option is for homepage only.', 'mynote' ),
				'section'     => 'section_homepage_header_navbar',
				'settings'    => 'navbar_homepage_link_hover_color',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'home_menu_toggler_border_color_control',
			array(
				'label'        => __( "Menu Toggler's Border Color", 'mynote' ),
				'section'      => 'section_homepage_header_navbar',
				'settings'     => 'navbar_homepage_menu_toggler_border_color',
				'description'  => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ) . ' ' . __( 'This option is for homepage only.', 'mynote' ),
				'show_opacity' => true,
				'palette'      => $default_color_palette,
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'home_menu_toggler_bg_color_control',
			array(
				'label'        => __( "Menu Toggler's Background Color", 'mynote' ),
				'section'      => 'section_homepage_header_navbar',
				'settings'     => 'navbar_homepage_menu_toggler_bg_color',
				'description'  => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ) . ' ' . __( 'This option is for homepage only.', 'mynote' ),
				'show_opacity' => true,
				'palette'      => $default_color_palette,
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'menu_bg_color_control',
			array(
				'label'        => __( 'Background Color', 'mynote' ),
				'section'      => 'section_header_navbar',
				'settings'     => 'navbar_website_bg_color',
				'show_opacity' => true,
				'palette'      => $default_color_palette,
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'menu_link_color_control',
			array(
				'label'    => __( 'Link Color', 'mynote' ),
				'section'  => 'section_header_navbar',
				'settings' => 'navbar_website_link_color',
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'menu_link_hover_color_control',
			array(
				'label'    => __( 'Link Hover Color', 'mynote' ),
				'section'  => 'section_header_navbar',
				'settings' => 'navbar_website_link_hover_color',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'menu_toggler_border_color_control',
			array(
				'label'        => __( "Menu Toggler's Border Color", 'mynote' ),
				'section'      => 'section_header_navbar',
				'settings'     => 'navbar_website_menu_toggler_border_color',
				'show_opacity' => true,
				'palette'      => $default_color_palette,
				'description'  => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'menu_toggler_bg_color_control',
			array(
				'label'        => __( "Menu Toggler's Background Color", 'mynote' ),
				'section'      => 'section_header_navbar',
				'settings'     => 'navbar_website_menu_toggler_bg_color',
				'show_opacity' => true,
				'palette'      => $default_color_palette,
				'description'  => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'navbar_is_display_search_bar_control',
			array(
				'label'       => __( 'Display a Search Bar', 'mynote' ),
				'section'     => 'section_header_searchbar',
				'settings'    => 'navbar_is_display_search_bar',
				'description' => __( 'Would you like to display a search bar in header navbar area?', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'searchbar_placeholder_color_control',
			array(
				'label'    => __( 'Placeholder Color', 'mynote' ),
				'section'  => 'section_header_searchbar',
				'settings' => 'navbar_searchbar_placeholder_color',
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'searchbar_text_color_control',
			array(
				'label'    => __( 'Input Text Color', 'mynote' ),
				'section'  => 'section_header_searchbar',
				'settings' => 'navbar_searchbar_input_text_color',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'searchbar_bg_color_control',
			array(
				'label'        => __( 'Background Color', 'mynote' ),
				'section'      => 'section_header_searchbar',
				'settings'     => 'navbar_searchbar_bg_color',
				'show_opacity' => true,
				'palette'      => $default_color_palette,
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Control(
			$wp_customize,
			'searchbar_size_control',
			array(
				'label'    => __( 'Size', 'mynote' ),
				'section'  => 'section_header_searchbar',
				'settings' => 'navbar_searchbar_size',
				'type'     => 'radio',
				'choices'  => array(
					'default' => __( 'Default', 'mynote' ),
					'big'     => __( 'Big', 'mynote' ),
				),
			)
		)
	);
}


================================================
FILE: inc/customer/post-card.php
================================================
<?php
/**
 * Mynote theme customizer: Post Page
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.3.0
 * @version 1.3.0
 */

/**
 * Post card
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 * @return void
 */
function mynote_customize_post_card( $wp_customize ) {

	/**
	 * Panel
	 */

	/**
	 * Section
	 */
	$wp_customize->add_section(
		'section_post_card',
		array(
			'title'    => __( 'Post Card', 'mynote' ),
			'priority' => 10,
		)
	);

	/**
	 * Setting
	 */
	$wp_customize->add_setting(
		'post_card_show_footer',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_card_show_header',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_card_show_border',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_card_show_gradient_mask',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_card_show_body_footer',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	/**
	 * Control
	 */
	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_card_header_control',
			array(
				'label'       => __( 'Header', 'mynote' ),
				'section'     => 'section_post_card',
				'settings'    => 'post_card_show_header',
				'description' => __( 'Would you like to display the header of the post card? (Post thumbnail is located on this section. Choosing `No` will hide it.)', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_card_footer_control',
			array(
				'label'       => __( 'Footer', 'mynote' ),
				'section'     => 'section_post_card',
				'settings'    => 'post_card_show_footer',
				'description' => __( 'Would you like to display the footer of the post card?', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_card_border_control',
			array(
				'label'       => __( 'Border', 'mynote' ),
				'section'     => 'section_post_card',
				'settings'    => 'post_card_show_border',
				'description' => __( 'Would you like to display the border of the post card?', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_card_gradient_mask_control',
			array(
				'label'       => __( 'Gradient Mask', 'mynote' ),
				'section'     => 'section_post_card',
				'settings'    => 'post_card_show_gradient_mask',
				'description' => __( 'Would you like to display the gradient mask on the text?', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_card_body_footer_control',
			array(
				'label'       => __( 'Buttons', 'mynote' ),
				'section'     => 'section_post_card',
				'settings'    => 'post_card_show_body_footer',
				'description' => __( 'Would you like to display the buttons in the post body?', 'mynote' ),
			)
		)
	);
}


================================================
FILE: inc/customer/post-page.php
================================================
<?php
/**
 *  Mynote theme customizer: Post Page
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.3.0
 * @version 1.3.0
 */

/**
 * Post page
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 * @return void
 */
function mynote_customize_post_page( $wp_customize ) {

	/**
	 * Panel
	 */

	/**
	 * Section
	 */
	$wp_customize->add_section(
		'section_post_page',
		array(
			'title'    => __( 'Post Page', 'mynote' ),
			'priority' => 10,
		)
	);

	/**
	 * Setting
	 */
	$wp_customize->add_setting(
		'post_page_show_breadcrumb',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_page_show_author_date',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_page_show_feature_image',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_page_show_author_card',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'post_page_show_comments',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	/**
	 * Control
	 */
	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_page_show_breadcrumb_control',
			array(
				'label'    => __( 'Breadcrumb', 'mynote' ),
				'section'  => 'section_post_page',
				'settings' => 'post_page_show_breadcrumb',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_page_show_author_date_control',
			array(
				'label'    => __( 'Post Author and Date', 'mynote' ),
				'section'  => 'section_post_page',
				'settings' => 'post_page_show_author_date',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_page_show_feature_image_control',
			array(
				'label'    => __( 'Featured Image', 'mynote' ),
				'section'  => 'section_post_page',
				'settings' => 'post_page_show_feature_image',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_page_show_author_card_control',
			array(
				'label'    => __( 'Author Card', 'mynote' ),
				'section'  => 'section_post_page',
				'settings' => 'post_page_show_author_card',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'post_page_show_comments_control',
			array(
				'label'    => __( 'Comment Section', 'mynote' ),
				'section'  => 'section_post_page',
				'settings' => 'post_page_show_comments',
			)
		)
	);
}


================================================
FILE: inc/customer/progress-bar.php
================================================
<?php
/**
 *  Mynote theme customizer: Progress Bar
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.3.0
 * @version 1.3.0
 */

/**
 * Progress bar
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 * @return void
 */
function mynote_customize_progress_bar( $wp_customize ) {

	/**
	 * Default setting variables.
	 */
	$default_navbar_color                = 'rgba(36, 41, 46, 1)';
	$default_navbar_link_color           = '#c8c9ca';
	$default_navbar_link_hover_color     = '#ffffff';
	$default_progress_bar_border_color   = '#1e90ff';
	$default_searchbar_placeholder_color = '#cccccc';

	$default_color_palette = array( 'rgb(36, 41, 46)', 'rgba(0, 107, 91)', 'rgba(0, 75, 152)', 'rgba(168, 19, 62)' );

	/**
	 * Panel
	 */
	$wp_customize->add_panel(
		'panel_mynote_progress_bar',
		array(
			'title'    => __( 'Progress Bar', 'mynote' ),
			'priority' => 10,
		)
	);

	/**
	 * Section
	 */
	$wp_customize->add_section(
		'section_progress_bar_basic',
		array(
			'title'       => __( 'Basic Settings', 'mynote' ),
			'description' => __( 'The basic settings of the page progress bar.', 'mynote' ),
			'priority'    => 10,
			'panel'       => 'panel_mynote_progress_bar',
		)
	);

	$wp_customize->add_section(
		'section_progress_bar_color',
		array(
			'title'       => __( 'Color', 'mynote' ),
			'description' => __( 'Customize the color pattern of the page progress bar.', 'mynote' ),
			'priority'    => 10,
			'panel'       => 'panel_mynote_progress_bar',
		)
	);

	/**
	 * Setting
	 */
	$wp_customize->add_setting(
		'progressbar_is_display_bar',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'progressbar_bg_color',
		array(
			'default'           => $default_navbar_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'progressbar_text_color',
		array(
			'default'           => $default_navbar_link_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);
	$wp_customize->add_setting(
		'progressbar_percentage_bg_color',
		array(
			'default'           => $default_navbar_link_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'progressbar_is_display_percentage',
		array(
			'default'           => true,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'progressbar_preferred_color',
		array(
			'default'           => 'default',
			'sanitize_callback' => 'esc_attr',
		)
	);

	$wp_customize->add_setting(
		'progressbar_custom_bg_color',
		array(
			'default'           => $default_navbar_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'progressbar_custom_text_color',
		array(
			'default'           => $default_navbar_link_color,
			'sanitize_callback' => 'sanitize_text_field',
		)
	);

	$wp_customize->add_setting(
		'progressbar_custom_border_color',
		array(
			'default'           => $default_progress_bar_border_color,
			'sanitize_callback' => 'esc_attr',
		)
	);

	/**
	 * Control
	 */
	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'progressbar_is_display_bar_control',
			array(
				'label'       => __( 'Display Progress Bar', 'mynote' ),
				'section'     => 'section_progress_bar_basic',
				'settings'    => 'progressbar_is_display_bar',
				'description' => __( 'Would you like to display a progress bar while reading?', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Toggle_Control(
			$wp_customize,
			'progressbar_is_display_percentage_control',
			array(
				'label'       => __( 'Display Percentage Number', 'mynote' ),
				'section'     => 'section_progress_bar_basic',
				'settings'    => 'progressbar_is_display_percentage',
				'description' => __( 'Would you like to display a percentage number on the progress bar?', 'mynote' ),
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Control(
			$wp_customize,
			'progressbar_preferred_color_control',
			array(
				'label'       => __( 'Color Pattern', 'mynote' ),
				'section'     => 'section_progress_bar_basic',
				'settings'    => 'progressbar_preferred_color',
				'type'        => 'radio',
				'description' => __( 'Choose a preferred color pattern and apply it to the progress bar.', 'mynote' ),
				'choices'     => array(
					'default' => __( 'Default', 'mynote' ),
					'menu'    => __( 'As same as website menu', 'mynote' ),
					'custom'  => __( 'Custom', 'mynote' ),
				),
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'progressbar_custom_bg_color_control',
			array(
				'label'        => __( 'Background Color', 'mynote' ),
				'section'      => 'section_progress_bar_color',
				'settings'     => 'progressbar_custom_bg_color',
				'show_opacity' => true,
				'palette'      => $default_color_palette,
			)
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'progressbar_custom_text_color_control',
			array(
				'label'    => __( 'Text Color', 'mynote' ),
				'section'  => 'section_progress_bar_color',
				'settings' => 'progressbar_custom_text_color',
			)
		)
	);

	$wp_customize->add_control(
		new Customize_Alpha_Color_Control(
			$wp_customize,
			'progressbar_custom_border_color_control',
			array(
				'label'        => __( 'Border Color', 'mynote' ),
				'section'      => 'section_progress_bar_color',
				'settings'     => 'progressbar_custom_border_color',
				'show_opacity' => true,
				'palette'      => $default_color_palette,
			)
		)
	);
}


================================================
FILE: inc/customize-css.php
================================================
<?php
/**
 * Loading CSS that overwrote the theme defaults by Customizer.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.7
 */

function mynote_customize_css() {

	$css = '';

	$settings = array(
		'header_textcolor',
		'navbar_website_bg_color',
		'navbar_website_link_color',
		'navbar_website_link_hover_color',
		'navbar_is_display_search_bar',
		'navbar_searchbar_placeholder_color',
		'navbar_searchbar_bg_color',
		'navbar_searchbar_input_text_color',
		'navbar_searchbar_size',
		'navbar_searchbar_text_color',
		'navbar_homepage_bg_color',
		'navbar_homepage_link_color',
		'navbar_homepage_link_hover_color',
		'navbar_homepage_link_hover_color',
		'navbar_website_menu_toggler_bg_color',
		'navbar_website_menu_toggler_border_color',
		'navbar_homepage_menu_toggler_bg_color',
		'navbar_homepage_menu_toggler_border_color',
		'progressbar_preferred_color',
		'navbar_website_bg_color',
		'navbar_website_link_color',
		'progressbar_custom_bg_color',
		'progressbar_custom_text_color',
		'progressbar_custom_border_color',
		'progressbar_is_display_bar',
		'progressbar_is_display_percentage',
		'layout_post_sidebar_location_home',
		'layout_post_sidebar_location_archive',
		'layout_post_sidebar_location_post',
		'layout_cols_footer_location',
		'is_scroll_down_button',
		'is_responsive_website',
		'post_card_show_border',
	);

	foreach ( $settings as $setting_name ) {
		$v[ $setting_name ] = get_theme_mod( $setting_name );
	}

	if ( ! empty( $v['header_textcolor'] ) ) {
		$css .= '#header-desc-text { color: ' . esc_attr( $v['header_textcolor'] ) . " !important; }\n";
	}

	if ( ! empty( $v['navbar_website_bg_color'] ) ) {
		$css .= 'body:not(.home) .header { background-color: ' . esc_attr( $v['navbar_website_bg_color'] ) . " !important; }\n";
	}

	if ( ! empty( $v['navbar_website_link_color'] ) ) {
		$css .= 'body:not(.home) .header .navbar li > a { color: ' . esc_attr( $v['navbar_website_link_color'] ) . " !important; }\n";
	}

	if ( ! empty( $v['navbar_website_link_hover_color'] ) ) {
		$css .= 'body:not(.home) .header .navbar li > a:hover { color: ' . esc_attr( $v['navbar_website_link_hover_color'] ) . " !important; }\n";
	}

	/* BEGIN - Search bar */

	if ( ! mynote_toggle_check( $v['navbar_is_display_search_bar'] ) ) {
		$css .= ".header .search-bar { display: none !important; }\n";
		$css .= "body.home .header .search-bar { display: none !important; }\n";

	} else {

		if ( ! empty( $v['navbar_searchbar_placeholder_color'] ) ) {
			$css .= '.header .search-bar .search-input::-webkit-input-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n";
			$css .= '.header .search-bar .search-input::-moz-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n";
			$css .= '.header .search-bar .search-input:-ms-input-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n";
			$css .= '.header .search-bar .search-input:-moz-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n";
		}

		if ( ! empty( $v['navbar_searchbar_input_text_color'] ) ) {
			$css .= '.header .search-bar .search-input { color: ' . esc_attr( $v['navbar_searchbar_input_text_color'] ) . " !important; }\n";
			$css .= '.header .search-bar .search-icon { color: ' . esc_attr( $v['navbar_searchbar_input_text_color'] ) . " !important; }\n";
		}

		if ( ! empty( $v['navbar_searchbar_bg_color'] ) ) {
			$css .= '.header .search-bar { background-color: ' . esc_attr( $v['navbar_searchbar_bg_color'] ) . " !important; }\n";
		}

		if ( 'big' === $v['navbar_searchbar_size'] ) {
			$css .= '.header .search-bar { min-height: 40px !important; }' . "\n";
			$css .= '.header .search-bar .search-input { min-height: 40px !important; font-size: 15px !important; }' . "\n";
			$css .= '.header .search-bar .search-icon { min-height: 34px !important; line-height: 34px !important; font-size: 15px !important; }' . "\n";
			$css .= '@media (max-width: 991.98px) { .header .search-bar { top: 10px !important; } }' . "\n";
		}
	}

	/* END - Search bar */

	if ( ! empty( $v['navbar_homepage_bg_color'] ) ) {
		$css .= 'body.home .header { background-color: ' . esc_attr( $v['navbar_homepage_bg_color'] ) . " !important; }\n";
	}

	if ( ! empty( $v['navbar_homepage_link_color'] ) ) {
		$css .= 'body.home .header .navbar li > a { color: ' . esc_attr( $v['navbar_homepage_link_color'] ) . " !important; }\n";
	}

	if ( ! empty( $v['navbar_homepage_link_hover_color'] ) ) {
		$css .= 'body.home .header .navbar li > a:hover { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n";
	}

	if ( ! empty( $v['navbar_homepage_link_hover_color'] ) ) {
		$css .= '.header .search-bar input::-webkit-input-placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n";
		$css .= '.header .search-bar input::placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n";
		$css .= '.header .search-bar input:-ms-input-placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n";
		$css .= '.header .search-bar input::-ms-input-placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n";
	}

	// Apply the custon color pattern to the progress bar.
	if ( 'menu' === $v['progressbar_preferred_color'] ) {
		$css .= '.single-post-title-bar { background-color: ' . esc_attr( $v['navbar_website_bg_color'] ) . " !important; }\n";
		$css .= '#progress-title { color: ' . esc_attr( $v['navbar_website_link_color'] ) . " !important; }\n";
		$css .= 'a.go-top { background-color: ' . esc_attr( $v['navbar_website_bg_color'] ) . " !important; }\n";
		$css .= 'a.go-top i { color: ' . esc_attr( $v['navbar_website_link_color'] ) . " !important; }\n";
	} elseif ( 'custom' === $v['progressbar_preferred_color'] ) {
		$css .= '.single-post-title-bar { background-color: ' . esc_attr( $v['progressbar_custom_bg_color'] ) . " !important; }\n";
		$css .= '#progress-title { color: ' . esc_attr( $v['progressbar_custom_text_color'] ) . " !important; }\n";
		$css .= '.progress-wrapper progress::-webkit-progress-value { background-color: ' . esc_attr( $v['progressbar_custom_border_color'] ) . " !important; }\n";
		$css .= '.progress-wrapper progress::-ms-fill { background-color: ' . esc_attr( $v['progressbar_custom_border_color'] ) . " !important; }\n";
		$css .= '.progress-wrapper progress::-moz-progress-bar { background-color: ' . esc_attr( $v['progressbar_custom_border_color'] ) . " !important; }\n";
		$css .= 'a.go-top { background-color: ' . esc_attr( $v['progressbar_custom_bg_color'] ) . " !important; }\n";
		$css .= 'a.go-top i { color: ' . esc_attr( $v['progressbar_custom_text_color'] ) . " !important; }\n";
	}

	if ( ! mynote_toggle_check( $v['progressbar_is_display_bar'] ) ) {
		$css .= ".single-post-title-bar { display: none !important; }\n";
	}

	if ( ! mynote_toggle_check( $v['progressbar_is_display_percentage'] ) ) {
		$css .= ".progress-wrapper .progress-label { display: none !important; }\n";
	}

	if ( 'left' === $v['layout_post_sidebar_location_home'] ) {
		$css .= ".row-layout-choice-home { flex-direction: row-reverse !important; }\n";
	}

	if ( 'left' === $v['layout_post_sidebar_location_archive'] ) {
		$css .= ".row-layout-choice-archive { flex-direction: row-reverse !important; }\n";
	}

	if ( 'left' === $v['layout_post_sidebar_location_post'] ) {
		$css .= ".row-layout-choice-post { flex-direction: row-reverse !important; }\n";
	}

	/* BEGIN - Footer elements locations don't apply to width < 768px */

	if ( '2' === $v['layout_cols_footer_location'] ) {
		$css .= ".footer-columns { flex-direction: row-reverse !important; }\n";
		$css .= ".footer-columns .footer-column-left { text-align: right !important; }\n";
	}

	if ( '3' === $v['layout_cols_footer_location'] ) {
		$css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column-reverse !important; }\n";
	}

	if ( '4' === $v['layout_cols_footer_location'] ) {
		$css .= ".footer-columns { flex-direction: row-reverse !important; }\n";
		$css .= ".footer-columns .footer-column-left { text-align: right !important; display: flex !important; flex-direction: column-reverse !important; }\n";
	}

	if ( '5' === $v['layout_cols_footer_location'] ) {
		$css .= ".footer-columns { display: block !important; text-align: center !important; }\n";
		$css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column-reverse !important; }\n";
	}

	if ( '6' === $v['layout_cols_footer_location'] ) {
		$css .= ".footer-columns { display: flex !important; text-align: center !important; flex-direction: column-reverse !important; }\n";
		$css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column !important; }\n";
	}

	if ( '7' === $v['layout_cols_footer_location'] ) {
		$css .= ".footer-columns { display: flex !important; text-align: center !important; flex-direction: column-reverse !important; }\n";
		$css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column-reverse !important; }\n";
	}

	$css .= "@media (max-width: 768px) {\n";
	$css .= ".footer-columns { text-align: center !important; }\n";
	$css .= ".footer-columns .footer-column-left { text-align: center !important; }\n";
	$css .= "}\n";

	/* END - Footer elements locations don't apply to width < 768px */

	if ( mynote_toggle_check( $v['is_scroll_down_button'] ) ) {
		$css .= ".scroll-area { display: block !important; }\n";
	}

	if ( ! mynote_toggle_check( $v['is_responsive_website'] ) ) {
		$css .= ".navbar-expand .navbar-collapse { margin: 0 !important; }\n";
	}

	if ( ! mynote_toggle_check( $v['post_card_show_border'] ) ) {
		$css .= ".container .card { border: 0px !important; }\n";
		$css .= ".container .card-footer { border: 0 !important; background: none !important; padding-top: 0 !important; }\n";
	}

	/* BEGIN - Adjusting menu toggler color. */

	if ( ! empty( $v['navbar_homepage_menu_toggler_bg_color'] ) ) {
		// Button background color.
		$css .= 'body.home .navbar-dark .navbar-toggler { background-color: ' . $v['navbar_homepage_menu_toggler_bg_color'] . '; }';
	}

	if ( ! empty( $v['navbar_website_menu_toggler_bg_color'] ) ) {
		// Button background color.
		$css .= 'body:not(.home) .navbar-dark .navbar-toggler { background-color: ' . $v['navbar_website_menu_toggler_bg_color'] . '; }';
	}

	if ( ! empty( $v['navbar_homepage_menu_toggler_border_color'] ) ) {
		// Toggler bar.
		$css .= "body.home .navbar-dark .navbar-toggler-icon { background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='" . $v['navbar_homepage_menu_toggler_border_color'] . "' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\") }";
		// Button border.
		$css .= 'body.home .navbar-dark .navbar-toggler { color: ' . $v['navbar_homepage_menu_toggler_border_color'] . '; border-color: ' . $v['navbar_homepage_menu_toggler_border_color'] . '; }';
	}

	if ( ! empty( $v['navbar_website_menu_toggler_border_color'] ) ) {
		// Toggler bar.
		$css .= "body:not(.home) .navbar-dark .navbar-toggler-icon { background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='" . $v['navbar_homepage_menu_toggler_border_color'] . "' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\") }";
		// Button border.
		$css .= 'body:not(.home) .navbar-dark .navbar-toggler { color: ' . $v['navbar_website_menu_toggler_border_color'] . '; border-color: ' . $v['navbar_website_menu_toggler_border_color'] . '; }';
	}

	/* END - Adjusting menu toggler color. */

	if ( ! empty( $css ) ) {
		//$css .= "body.menu-is-collapsed .header { background: rgba(20, 25, 29, 1) !important; }\n";
	}

	echo '<style id="mynote-customizer">' . "\n" . $css . "\n" . '</style>';
}

add_action( 'wp_head', 'mynote_customize_css' );


/**
 * Check Customizer settings controlled by toggle.
 *
 * @param string $var
 * @return bool
 */
function mynote_toggle_check( $var ) {
	if ( ! isset( $var ) || '' === $var || '0' === $var || 'no' === $var ) {
		return false;
	}
	if ( ( false === $var || true === $var ) || '1' === $var || 'yes' === $var ) {
		return true;
	}
	return false;
}


================================================
FILE: inc/customizer.php
================================================
<?php
/**
 * Main Customizer in Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.7
 * @version 1.3.0
 */

$includes = array(
	'/classes/customizer/class-customize-alpha-color-control.php',
	'/classes/customizer/class-customize-image-radio-control.php',
	'/classes/customizer/class-customize-toggle-control.php',
	'/classes/customizer/class-customize-content-control.php',
	'/customer/about.php',
	'/customer/homepage.php',
	'/customer/navbar.php',
	'/customer/progress-bar.php',
	'/customer/layout.php',
	'/customer/post-card.php',
	'/customer/post-page.php',
);

foreach ( $includes as $file ) {
	require get_parent_theme_file_path( '/inc' . $file );
}


/**
 * Customizer
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 * @return void
 */

$customizer_options = array(
	'about',
	'homepage',
	'layout',
	'navbar',
	'post_card',
	'post_page',
	'progress_bar',
);

foreach ( $customizer_options as $customizer_option ) {
	add_action( 'customize_register', 'mynote_customize_' . $customizer_option );
}


================================================
FILE: inc/icon-functions.php
================================================
<?php
/**
 * Social icon links in Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 1.0.7
 */

/**
 * Returns an array of supported social links (Fontawesome 5 font icons).
 *
 * @return array
 */
function mynote_social_links_icons() {

	$social_links_icons = array(
		'behance.net'     => 'fab fa-behance behance',
		'codepen.io'      => 'fab fa-codepen codepen',
		'deviantart.com'  => 'fab fa-deviantart deviantart',
		'digg.com'        => 'fab fa-digg digg',
		'docker.com'      => 'fab fa-docker docker',
		'dribbble.com'    => 'fab fa-dribbble dribbble',
		'dropbox.com'     => 'fab fa-dropbox dropbox',
		'facebook.com'    => 'fab fa-facebook-f facebook',
		'flickr.com'      => 'fab fa-flickr flickr',
		'foursquare.com'  => 'fab fa-foursquare foursquare',
		'plus.google.com' => 'fab fa-google-plus-g google',
		'github.com'      => 'fab fa-github-alt github',
		'instagram.com'   => 'fab fa-instagram instagram',
		'linkedin.com'    => 'fab fa-linkedin-in linkedin',
		'mailto:'         => 'far fa-envelope envelope',
		'medium.com'      => 'fab fa-medium-m medium',
		'pinterest.com'   => 'fab fa-pinterest-p pinterest',
		'pscp.tv'         => 'fab fa-periscope periscope',
		'getpocket.com'   => 'fab fa-get-pocket getpocket',
		'reddit.com'      => 'fab fa-reddit-alien reddit',
		'skype.com'       => 'fab fa-skype skype',
		'skype:'          => 'fab fa-skype skype',
		'slideshare.net'  => 'fab fa-slideshare slideshare',
		'snapchat.com'    => 'fab fa-snapchat-ghost snapchat',
		'soundcloud.com'  => 'fab fa-soundcloud soundcloud',
		'spotify.com'     => 'fab fa-spotify spotify',
		'stumbleupon.com' => 'fab fa-stumbleupon stumbleupon',
		'tumblr.com'      => 'fab fa-tumblr tumblr',
		'twitch.tv'       => 'fab fa-twitch twitch',
		'twitter.com'     => 'fab fa-twitter twitter',
		'vimeo.com'       => 'fab fa-vimeo-v vimeo',
		'vine.co'         => 'fab fa-vine vine',
		'vk.com'          => 'fab fa-vk vk',
		'wordpress.org'   => 'fab fa-wordpress wordpress',
		'wordpress.com'   => 'fab fa-wordpress-simple wordpress',
		'yelp.com'        => 'fab fa-yelp yelp',
		'youtube.com'     => 'fab fa-youtube youtube',
	);

	return $social_links_icons;
}

/**
 * Filters a menu item's starting output.
 *
 * @param  string   $item_output The menu item output.
 * @param  WP_Post  $item        Menu item object.
 * @param  int      $depth       Depth of the menu.
 * @param  stdClass $args        wp_nav_menu() arguments.
 * @return string   $item_output The menu item output with social icon.
 */
function mynote_nav_menu_social_icons( $item_output, $item, $depth, $args ) {

	// Get supported social icons.
	$social_icons = mynote_social_links_icons();
	$size_type    = get_theme_mod( 'layout_cols_footer_icon_size' );

	if ( 'md' === $size_type ) {
		$size_css = 'brand-md';
	} elseif ( 'lg' === $size_type ) {
		$size_css = 'brand-lg';
	} elseif ( 'xl' === $size_type ) {
		$size_css = 'brand-xl';
	} else {
		$size_css = 'brand-sm';
	}

	// Replace title with font icon inside social links menu.
	if ( 'social' === $args->theme_location ) {
		$is_icon_found = false;
		foreach ( $social_icons as $attr => $value ) {
			if ( false !== strpos( $item_output, $attr ) ) {
				$is_icon_found = true;
				$item_output   = preg_replace( '#' . $args->link_before . '(.+)' . $args->link_after . '#i', '<span class="' . $size_css . '"><i class="' . esc_attr( $value ) . ' brand-link"></i></span>', $item_output );
			}
		}
		if ( ! $is_icon_found ) {
			$item_output = preg_replace( '#' . $args->link_before . '(.+)' . $args->link_after . '#i', '<i class="fas fa-link"></i>', $item_output );
		}
	}
	return $item_output;
}


================================================
FILE: inc/index.html
================================================


================================================
FILE: inc/template-functions.php
================================================
<?php
/**
 * Functions and definitions for Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 2.0.0
 */

if ( ! function_exists( 'mynote_remove_invalid_rel_for_category' ) ) {
	/**
	 * Remove invalid rel attribute values in the categorylist
	 * Valid attribute values:
	 * http://microformats.org/wiki/existing-rel-values
	 *
	 * @param array $var - string or array.
	 * @return string|array
	 */
	function mynote_remove_invalid_rel_for_category( $var ) {
		return str_replace( 'rel="category tag"', 'rel="tag"', $var );
	}
}

if ( ! function_exists( 'mynote_add_slug_to_body_class' ) ) {
	/**
	 * Add page slug to body class for better customization if needed.
	 *
	 * @param array $classes - html class name.
	 * @return array
	 */
	function mynote_add_slug_to_body_class( $classes ) {
		global $post;

		if ( is_home() ) {
			$key = array_search( 'blog', $classes, true );
			if ( $key > -1 ) {
				unset( $classes[ $key ] );
			}
		} elseif ( is_page() ) {
			$classes[] = sanitize_html_class( $post->post_name );
		} elseif ( is_singular() ) {
			$classes[] = sanitize_html_class( $post->post_name );
		}
		return $classes;
	}
}

if ( ! function_exists( 'mynote_remove_recent_comments_style' ) ) {
	/**
	 * Remove wp_head() injected Recent Comment styles.
	 *
	 * @return void
	 */
	function mynote_remove_recent_comments_style() {
		global $wp_widget_factory;

		remove_action(
			'wp_head',
			array(
				$wp_widget_factory->widgets['WP_Widget_Recent_Comments'],
				'recent_comments_style',
			)
		);
	}
}

if ( ! function_exists( 'mynote_remove_thumbnail_dimensions' ) ) {
	/**
	 * Show excetps ... read more
	 *
	 * @param string $more Pass to excerpt_more filiter.
	 * @return string
	 */
	function mynote_read_more( $more ) {
		global $post;
		return '... &raquo; <a class="read-more-link" href="' . esc_url( get_permalink( $post->ID ) ) . '">' . __( 'read more', 'mynote' ) . '</a>';
	}
}

if ( ! function_exists( 'mynote_remove_thumbnail_dimensions' ) ) {
	/**
	 * Remove width and height dynamic attributes to thumbnails that prevent fluid images in the_thumbnail.
	 *
	 * @param string $html HTML string.
	 * @return string
	 */
	function mynote_remove_thumbnail_dimensions( $html ) {
		$html = preg_replace( '/(width|height)=\"\d*\"\s/', '', $html );
		return $html;
	}
}

if ( ! function_exists( 'mynote_custom_gravatar' ) ) {
	/**
	 * Custom avatar
	 *
	 * @param array $avatar_defaults Avatar.
	 * @return array
	 */
	function mynote_custom_gravatar( $avatar_defaults ) {
		// Change filename here.
		$myavatar = get_template_directory_uri() . '/img/gravatar.jpg';
		// Name of the gavatar image.
		$avatar_defaults[ $myavatar ] = 'Custom Gravatar';
		return $avatar_defaults;
	}
}

if ( ! function_exists( 'mynote_enable_threaded_comments' ) ) {
	/**
	 * Threaded Comments
	 *
	 * @return void
	 */
	function mynote_enable_threaded_comments() {
		if ( ! is_admin() ) {
			if ( is_singular() && comments_open() && ( 1 === get_option( 'thread_comments' ) ) ) {
				wp_enqueue_script( 'comment-reply' );
			}
		}
	}
}

// GitHub style comment blocks.
if ( ! function_exists( 'mynote_comment' ) ) {
	/**
	 * Template for comments and pingbacks.
	 *
	 * @param stdClass $comment (optional) Array obtained by get_comments query.
	 * @param array    $args    (optional) The options for the function.
	 * @param integer  $depth   (optional).
	 * @return void
	 */
	function mynote_comment( $comment, $args, $depth ) {
		global $post;

		switch ( $comment->comment_type ) {
			case 'pingback':
			case 'trackback':
				// Display trackbacks differently than normal comments.
				?>

				<div <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>">

					<article id="comment-<?php comment_ID(); ?>" class="pingback">
						<p><?php esc_html_e( 'Pingback:', 'mynote' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( esc_html__( '(Edit)', 'mynote' ), '<span class="edit-link">', '</span>' ); ?></p>
					</article>

				</div>

				<?php
				break;
			default:
				// Proceed with normal comments.
				?>

				<div <?php comment_class( 'comment-wrapper' ); ?> id="comment-<?php comment_ID(); ?>">
					<div class="comment-avatar">
						<?php echo get_avatar( $comment, 44 ); ?>
					</div>
					<div class="comment-container"> 
						<div class="comment-header">
							<?php edit_comment_link( '<i class="fas fa-pencil-alt"></i>', '<div class="comment-header-btn edit">', '</div>' ); ?>
							<div class="comment-header-btn reply">
								<?php
									comment_reply_link(
										array_merge(
											$args,
											array(
												'reply_text' => '<i class="fas fa-reply"></i>',
												'depth' => $depth,
												'max_depth' => $args['max_depth'],
											)
										)
									);
								?>
							</div>

							<?php

							if ( $comment->user_id === $post->post_author ) {
								$commenter_type_css = 'author';

								?>

								<div class="comment-label">
									<?php esc_html_e( 'Author', 'mynote' ); ?>
								</div>

								<?php

							} else {
								$commenter_type_css = 'reader';
							}

							?>

							<div class="comment-header-text f-14">
								<?php

								printf(
									'<cite class="' . esc_attr( $commenter_type_css ) . '">%1$s</cite>&nbsp;',
									get_comment_author_link()
								);

								printf(
									'<a href="%1$s" title="commented %2$s" class="comment-link"><time itemprop="datePublished" datetime="%3$s">%4$s</time></a>',
									esc_url( get_comment_link( $comment->comment_ID ) ),
									sprintf( '%1$s @ %2$s', get_comment_date(), get_comment_time() ),
									get_comment_time( 'c' ),
									sprintf(
										/* translators: %s: days */
										esc_html__( 'commented %s ago', 'mynote' ),
										esc_html( human_time_diff( get_comment_time( 'U' ), current_time( 'timestamp' ) ) )
									)
								);

								?>
							</div>
						</div>
						<div class="comment-body">
							<?php if ( '0' === $comment->comment_approved ) { ?>
								<p class="comment-awaiting-moderation"><?php esc_html_e( 'Your comment is awaiting moderation.', 'mynote' ); ?></p>
							<?php } ?>
							<div class="comment-content comment">
								<?php comment_text(); ?>	
							</div>
						</div>
					</div>
				</div>

				<?php
				break;
		}
		// end - switch.
	}
}

if ( ! function_exists( 'mynote_comment_form' ) ) {
	/**
	 * Overwrite the default WordPress comment form.
	 * Build a custom Mynote style form.
	 *
	 * @return array
	 */
	function mynote_comment_form() {
		$comment_field = '
			<div class="form-row">
				<div class="col-sm-12 my-1">
					<textarea id="comment" name="comment" class="form-control" aria-required="true"></textarea>
				</div>
			</div>
		';

		$comments_args = array(
			'label_submit'         => __( 'Send', 'mynote' ),
			'title_reply'          => __( 'Write a Reply or Comment', 'mynote' ),
			'comment_notes_after'  => '',
			'comment_field'        => $comment_field,
			'title_reply_before'   => '<h3 id="reply-title" class="section-title">',
			'title_reply_after'    => '</h3>',
			'class_submit'         => 'btn btn-green my-1',
			'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.', 'mynote' ) . '</p>',
		);
		return $comments_args;
	}
}

if ( ! function_exists( 'mynote_comment_fileds' ) ) {
	/**
	 * Comment fields
	 *
	 * @return array
	 */
	function mynote_comment_fileds() {
		$commenter = wp_get_current_commenter();

		$author = '
			<div class="col-sm-6 my-1">
				<div class="input-group">
					<div class="input-group-prepend">
						<div class="input-group-text"><i class="fas fa-user"></i></div>
					</div>
					<input id="author" class="form-control" placeholder="' . esc_attr( __( 'Name', 'mynote' ) ) . '" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" maxlength="245" />
				</div>
			</div>
		';

		$email = '
			<div class="col-sm-6 my-1">
				<div class="input-group">
					<div class="input-group-prepend">
						<div class="input-group-text"><i class="fas fa-envelope"></i></div>
					</div>
					<input id="email" class="form-control" placeholder="' . esc_attr( __( 'Email', 'mynote' ) ) . '" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" maxlength="100" aria-describedby="email-notes" />
				</div>
			</div>
		';

		$url = '
			<div class="col-sm-12 my-1">
				<div class="input-group">
					<div class="input-group-prepend">
						<div class="input-group-text"><i class="fas fa-globe"></i></div>
					</div>
					<input id="url" class="form-control" placeholder="' . esc_attr( __( 'Website', 'mynote' ) ) . '" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" maxlength="200" />
				</div>
			</div>
		';

		$fields = array(
			'before' => '<div class="form-row">',
			'author' => $author,
			'email'  => $email,
			'url'    => $url,
			'after'  => '</div>',
		);

		return $fields;
	}
}

if ( ! function_exists( 'mynote_move_comment_field_to_bottom' ) ) {
	/**
	 * Move fields from bottom to top.
	 *
	 * @param array $fields Comment form fields.
	 * @return array
	 */
	function mynote_move_comment_field_to_bottom( $fields ) {
		$comment_field = $fields['comment'];
		unset( $fields['comment'] );
		$fields['comment'] = $comment_field;
		return $fields;
	}
}

if ( ! function_exists( 'mynote_replace_language_attributes' ) ) {
	/**
	 * Replace language attrbute from en_US to en.
	 *
	 * @return string
	 */
	function mynote_replace_language_attributes() {
		return 'lang=' . substr( get_bloginfo( 'language' ), 0, 2 );
	}
}

if ( ! function_exists( 'mynote_single_post_script' ) ) {
	/**
	 * Article reading progress bar.
	 * Sidebar switcher.
	 *
	 * @return void
	 */
	function mynote_single_post_script() {
		if ( is_single() ) {
			?>
		<script>

		jQuery( document ).ready(function( $ ) {
			const win = $( window );
			const doc = $( document );
			const progressBar = $( 'progress' );
			const progressLabel = $( '.progress-label' );
			const setValue = () => win.scrollTop();
			const setMax = () => doc.height() - win.height();
			const setPercent = () => Math.round( win.scrollTop() / (doc.height() - win.height()) * 100 );
			const pageTitle = $( '#post-title' );
			const pageTitleTop = pageTitle.offset().top;
			const progressBarContainer = $( '.single-post-title-bar' );
			const headerNavBrand = $( '#mynote-nav-bar' );
			const progressTitle = $( '#progress-title' );
			const headerBarContainer = $( '.header .container' );

			progressLabel.text( setPercent() + '%' );
			progressBar.attr(
				{
					value: setValue(),
					max: setMax() 
				}
			);

			doc.on( 'scroll', () => {
				progressLabel.text( setPercent() + '%' );
				progressBar.attr(
					{
						value: setValue()
					} 
				);

				if ( doc.scrollTop() > headerNavBrand.height() ) {
					//headerBarContainer.fadeOut( 800 );
					progressTitle.html( pageTitle.html() );
					progressBarContainer.fadeIn( 100 );
					progressBarContainer.addClass( 'fixed-top' );
					progressBarContainer.addClass( 'slide-down' );
				} else {
					//headerBarContainer.fadeIn( 800 );
					progressBarContainer.removeClass( 'slide-down' );
					progressBarContainer.fadeOut( 100 );

					if ( progressBarContainer.hasClass( 'fixed-top' ) ) {
						setTimeout(function() {
							progressBarContainer.removeClass( 'fixed-top' );
						}, 500);
					}
				}
			});

			win.on( 'resize', () => {
				progressLabel.text( setPercent() + '%' );
				progressBar.attr(
					{
						value: setValue(), 
						max: setMax()
					} 
				);
			});

			// Sidebar switcher
			$( '#main-container' ).attr( 'data-previous-class', $( '#main-container' ).attr( 'class' ) );

			$( '.column-control .btn-counter' ).click(function() {
				var target = $( this ).attr( 'data-target' );
				if ( $( this ).hasClass( 'active' ) ) {
					$( this ).removeClass( 'active' );

					if ( target == '#aside-container' ) {
						$( '#main-container' ).attr( 'data-previous-class', $( '#main-container' ).attr( 'class' ) );
						$( '#main-container' ).attr( 'class', 'col col-sm-12' );
						$( '#aside-container' ).hide();
					}
					if ( target == '#sidebar') {
						$( target ).show();
					}
				} else {
					$( this ).addClass( 'active' );

					if ( target == '#aside-container' ) {
						$( '#main-container' ).attr( 'class', $( '#main-container' ).attr( 'data-previous-class' ) );
						$( '#aside-container' ).show();
					}
					if ( target == '#sidebar') {
						$( target ).hide();
					}
				}

			});

			// For responsive.
			$( '.markdown-body img' ).attr('height', '');
		});

		</script>
			<?php
		}
	}
}

if ( ! function_exists( 'mynote_scrolling_script' ) ) {
	/**
	 * 1. An "Auto scroll down" floated button.
	 * 2. An "Go to Top" floated button will be showed on the footer when user scrolling down.
	 * 3. Bootstrap 4 collapse event.
	 *
	 * @return void
	 */
	function mynote_scrolling_script() {
		?>
		<script>

		jQuery( document ).ready(function( $ ) {

			$( '.scroll-area a' ).on( 'click', function(e) {
				e.preventDefault();
				var movingPosition = 0;

				if ( $( this.hash ).offset().top > $( document ).height() - $( window ).height() ) {
					movingPosition = $( document ).height() - $( window ).height();
				} else {
					movingPosition = $( this.hash ).offset().top;
				}

				$( 'html, body' ).animate({
					scrollTop: movingPosition
				}, 500, 'swing' );
			});

			$( 'a.go-top' ).on( 'click' ,function(e) {
				e.preventDefault();
				$( 'html, body' ).animate( { scrollTop: 0 }, 1000 );
			});

			$( window ).scroll( function() {      
				var windowTop =  $( window ).scrollTop();
				if ( windowTop > 100 ) {
					$( 'a.go-top' ).fadeIn( 300 );
				} else {
					$( 'a.go-top' ).fadeOut( 300 );
				}
			});

			$( '#mynote-nav-bar' ).on( 'show.bs.collapse' , function () {
				$( 'body' ).addClass( 'menu-is-collapsed' );
			});

			$( '#mynote-nav-bar' ).on( 'hidden.bs.collapse' , function () {
				$( 'body' ).removeClass( 'menu-is-collapsed' );
			});
		});

		</script>
		<?php
	}
}

if ( ! function_exists( 'mynote_alx_embed_html' ) ) {
	/**
	 * Add responsive container to embeds
	 *
	 * @param string $html Original embed HTML code.
	 * @return string
	 */
	function mynote_alx_embed_html( $html ) {
		return '<div class="video-container">' . $html . '</div>';
	}
}

/**
 * Prevent XSS attacks.
 *
 * @param string $comment_text
 *
 * @return string
 */
function mynote_sanitize_comment( $comment_text ) {
	$comment_text = sanitize_text_field( $comment_text );
	return $comment_text;
}


================================================
FILE: inc/template-hook-functions.php
================================================
<?php
/**
 * Mynote template functions for hooks.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 2.0.0
 */

if ( ! function_exists( 'mynote_header_navigation' ) ) {
	/**
	 * Display the header menu.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_header_navigation() {

		$is_brand_url     = false;
		$addon_body_class = '';
		$site_brand_url   = '';

		if ( '' !== mynote_site_icon() ) {
			$is_brand_url      = true;
			$addon_body_class .= 'has-site-icon';
			$site_brand_url    = mynote_site_icon();
		}

		if ( '' !== mynote_site_logo() ) {
			$is_brand_url = true;

			if ( ! empty( $addon_body_class ) ) {
				$addon_body_class .= ' ';
			}
			$addon_body_class .= 'has-site-logo';
			$site_brand_url    = mynote_site_logo();
		}

		$addon_navbar_class = '';

		if ( ! mynote_is_responsive() ) {
			$addon_navbar_class = 'navbar-expand';
		}

		?>
			<nav class="navbar navbar-expand-lg navbar-dark <?php echo $addon_navbar_class; ?>" role="navigation">
				<?php if ( $is_brand_url ) : ?>
					<a class="navbar-brand" href="<?php echo esc_url( home_url() ); ?>">
						<img src="<?php echo esc_url( $site_brand_url ); ?>" alt="<?php esc_attr_e( 'Logo', 'mynote' ); ?>" class="logo-img" />
					</a>
				<?php endif; ?>

				<?php if ( has_nav_menu( 'header-menu' ) ) : ?>
					<?php mynote_nav(); ?>
				<?php else : ?>
					<?php mynote_default_nav(); ?>
				<?php endif; ?>

				<div class="search-bar">
					<?php get_search_form(); ?>
				</div>

				<button class="navbar-toggler" 
					type="button" data-toggle="collapse" 
					data-target="#mynote-nav-bar" 
					aria-controls="mynote-nav-bar" 
					aria-expanded="false" 
					aria-label="<?php esc_attr_e( 'Toggle navigation', 'mynote' ); ?>">
					<span class="navbar-toggler-icon"></span>
				</button>
			</nav>
		<?php
	}
}

if ( ! function_exists( 'mynote_footer_widgets' ) ) {
	/**
	 * Display the theme credit
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_footer_widgets() {
		if ( is_active_sidebar( 'sidebar-2' ) ) {
			?>
				<section class="footer-sidebar">
					<div class="container px-responsive">
						<div class="row my-4">
							<?php dynamic_sidebar( 'sidebar-2' ); ?>
						</div>
					</div>
				</section>
			<?php
		}
	}
}

if ( ! function_exists( 'mynote_footer_columns' ) ) {
	/**
	 * Display the theme credit, footer menu and social links.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_footer_columns() {
		?>
			<div class="container footer-columns">
				<div class="footer-column-left">
					<div><?php mynote_site_info(); ?></div>
					<div><?php mynote_nav( 'footer' ); ?></div>
				</div>
				<div class="footer-column-right">
					<?php mynote_nav( 'social' ); ?>
				</div>
			</div>
		<?php
	}
}

if ( ! function_exists( 'mynote_homepage_promotion' ) ) {
	/**
	 * Display the promotion area in homepage.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_homepage_promotion() {
		$custom_header_image = '';

		if ( has_header_image() ) {
			$custom_header_image = 'background-image: url(' . get_header_image() . ');';
		}
		?>

		<div class="section-intro d-flex align-items-center" style="<?php echo $custom_header_image; ?>">
				<div class="container px-responsive">
					<div class="d-md-flex align-items-center">
						<div class="col-12 col-md-7 text-center text-md-left" style="min-height: 100%; overflow: hidden" >
							<h1 class="mb-3"><?php echo get_bloginfo( 'name' ); ?></h1>
							<p class="mb4 desc-text" id="header-desc-text">
								<?php echo html_entity_decode( get_bloginfo( 'description' ) ); ?>
							</p>
						</div>
						<div class="col-12 col-md-5">
							<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
								<aside class="home-intro-sidebar">
									<div class="container px-responsive">
										<div class="row my-4">
											<?php dynamic_sidebar( 'sidebar-5' ); ?>
										</div>
									</div>
								</aside>
							<?php else : ?>
								<p class="p-5"><?php mynote_category_labels(); ?></p>
							<?php endif; ?>
						</div>
					</div>
				</div>
				<div class="scroll-area">
					<a href="#main-container"><i class="fas fa-arrow-down"></i></a>
				</div>
			</div>
		<?php
	}
}

if ( ! function_exists( 'mynote_homepage_middle_sidebar' ) ) {
	/**
	 * Display the middle sidebar in homepage.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_homepage_middle_sidebar() {
		if ( is_active_sidebar( 'sidebar-4' ) ) {
			?>
			<aside class="home-middle-sidebar">
				<div class="container px-responsive">
					<div class="row my-4">
						<?php dynamic_sidebar( 'sidebar-4' ); ?>
					</div>
				</div>
			</aside>
			<?php
		}
	}
}

if ( ! function_exists( 'mynote_homepage_sidebar' ) ) {
	/**
	 * Display the sidebar in homepage.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_homepage_sidebar() {
		if ( mynote_is_sidebar() ) {
			?>
			<aside id="aside-container" class="col-lg-4 col-md-4 col-sm-12" role="complementary">
				<div id="sidebar-home" class="sidebar">
					<?php dynamic_sidebar( 'sidebar-6' ); ?>
				</div>
			</aside>
			<?php
		}
	}
}

if ( ! function_exists( 'mynote_archive_sidebar' ) ) {
	/**
	 * Display the sidebar in archive.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_archive_sidebar() {
		if ( mynote_is_sidebar() ) {
			?>
			<aside id="aside-container" class="col-lg-4 col-md-4 col-sm-12" role="complementary">
				<div id="sidebar-home" class="sidebar">
					<?php dynamic_sidebar( 'sidebar-7' ); ?>
				</div>
			</aside>
			<?php
		}
	}
}

if ( ! function_exists( 'mynote_single_post_sidebar' ) ) {
	/**
	 * Display the sidebar in single posts.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_single_post_sidebar() {
		if ( mynote_is_sidebar() ) {
			?>
			<aside id="aside-container" class="col-lg-4 col-md-4 col-sm-12" role="complementary">
				<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
					<div id="sidebar" class="sidebar">
						<?php dynamic_sidebar( 'sidebar-1' ); ?>
					</div>
				<?php endif; ?>
				<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
					<div id="sidebar-sticky" class="sidebar sticky-top">
						<?php dynamic_sidebar( 'sidebar-3' ); ?>
					</div>
				<?php endif; ?>
			</aside>
			<?php
		}
	}
}

if ( ! function_exists( 'mynote_pagination_section' ) ) {
	/**
	 * Display pagination.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_pagination_section() {
		if ( function_exists( 'mynote_pagination' ) ) {
			mynote_pagination();
		} else {
			the_posts_pagination(
				array(
					'prev_text'          => '<i class="fas fa-angle-left"></i> <span class="screen-reader-text">' . __( 'Previous page', 'mynote' ) . '</span>',
					'next_text'          => '<span class="screen-reader-text">' . __( 'Next page', 'mynote' ) . '</span> <i class="fas fa-angle-right"></i>',
					'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'mynote' ) . ' </span>',
				)
			);
		}
	}
}

if ( ! function_exists( 'mynote_post_metadata' ) ) {
	/**
	 * Display post metadata before post's content.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_post_metadata() {
		if ( have_posts() ) {
			while ( have_posts() ) {
				the_post();
				mynote_post_breadcrumb();

				?>
					<div class="single-post-header">
						<div class="container">

							<h1 id="post-title" itemprop="headline"><?php the_title(); ?></h1>
							<div class="post-mynote-buttons">

								<?php if ( mynote_is_sidebar() ) : ?>
									<?php mynote_column_control_button(); ?>
								<?php endif; ?>

								<?php mynote_edit_button(); ?>
								<?php mynote_comment_button(); ?>
							</div><!-- .post-mynote-buttons -->

							<?php if ( mynote_is_post_author_date() ) : ?>
								<div class="post-meta">
									<?php mynote_author_posted_date( true ); ?>
								</div>
							<?php endif; ?>

						</div><!-- .container -->
					</div><!-- .single-post-header -->
				<?php
			}
		}
	}
}

if ( ! function_exists( 'mynote_check_responsive' ) ) {
	/**
	 * Check setting about responsive.
	 *
	 * @since  2.0.0
	 * @return void
	 */
	function mynote_check_responsive() {
		if ( mynote_is_responsive() ) {
			echo '<meta name="viewport" content="width=device-width, initial-scale=1.0">';
		}
	}
}


================================================
FILE: inc/template-hooks.php
================================================
<?php
/**
 * Hooks for Mynote theme.
 *
 * @author Terry Lin
 * @link https://terryl.in/
 *
 * @package WordPress
 * @subpackage Mynote
 * @since 2.0.0
 */

/*
|--------------------------------------------------------------------------
| Mynote custom hooks.
|--------------------------------------------------------------------------
| Hooked functions defined in inc/template-hook-functions.php
*/

/**
 * Head
 *
 * - mynote_head
 *
 * @see mynote_check_responsive();
 */
add_action( 'mynote_head', 'mynote_check_responsive', 10 );

/**
 * Header
 *
 * - mynote_header_before
 * - mynote_header
 * - mynote_header_after
 *
 * @see  mynote_header_navigation()
 */
add_action( 'mynote_header', 'mynote_header_navigation', 10 );

/**
 * Webiste's wrapper
 *
 * - mynote_site_wrapper_before
 * - mynote_site_wrapper_after
 */

/**
 * Footer
 *
 * - mynote_footer_before
 * - mynote_footer
 * - mynote_footer_after
 *
 * @see  mynote_footer_widgets()
 * @see  mynote_footer_columns()
 */
add_action( 'mynote_footer', 'mynote_footer_widgets', 10 );
add_action( 'mynote_footer', 'mynote_footer_columns', 20 );

/**
 * Homepage
 *
 * - mynote_homepage_promotion
 * - mynote_homepage_sidebar
 * - mynote_homepage_middle_sidebar
 *
 * @see  mynote_homepage_promotion()
 * @see  mynote_homepage_sidebar()
 * @see  mynote_homepage_middle_sidebar()
 */
add_action( 'mynote_homepage_promotion', 'mynote_homepage_promotion', 10 );
add_action( 'mynote_homepage_sidebar', 'mynote_homepage_sidebar', 10 );
add_action( 'mynote_homepage_middle_sidebar', 'mynote_homepage_middle_sidebar', 10 );

/**
 * Loop
 *
 * - mynote_loop_before
 * - mynote_loop_after
 */

/**
 * Pagination
 *
 * - mynote_pagination_before
 * - mynote_pagination
 * - mynote_pagination_after
 *
 * @see  mynote_pagination_section()
 */
add_action( 'mynote_pagination', 'mynote_pagination_section', 10 );

/**
 * Post
 *
 * - mynote_post_before
 * - mynote_post_content_before
 * - mynote_post_content_after
 * - mynote_post_after
 * - mynote_post_sidebar
 * - mynote_post_comment_before
 * - mynote_post_comment_after
 *
 * @see  mynote_post_metadata()
 * @see  mynote_single_post_sidebar()
 */
add_action( 'mynote_post_before', 'mynote_post_metadata', 10 );
add_action( 'mynote_post_sidebar', 'mynote_single_post_sidebar', 10 );

/**
 * Page
 *
 * - mynote_page_before
 * - mynote_page_content_before
 * - mynote_page_content_after
 * - mynote_page_after
 *
 * @see  mynote_post_metadata()
 */
add_action( 'mynote_page_before', 'mynote_post_metadata', 10 );

/**
 * Archive
 *
 * - mynote_archive_sidebar
 * - mynote_archive_headline_after
 * - mynote_archive_loop_before
 * - mynote_archive_loop_after
 * - mynote_category_headline_after
 * - mynote_tag_headline_after
 * - mynote_search_headline_after
 *
 * @see  mynote_archive_sidebar()
 */
add_action( 'mynote_archive_sidebar', 'mynote_archive_sidebar', 10 );

/*
|--------------------------------------------------------------------------
| WordPress hooks used in Mynote.
|--------------------------------------------------------------------------
| Hooked functions defined in inc/template-functions.php
*/

add_action( 'widgets_init', 'mynote_remove_recent_comments_style' );
add_action( 'wp_footer', 'mynote_single_post_script', 1, 1 );
add_action( 'wp_footer', 'mynote_scrolling_
Download .txt
gitextract_sah6h9cm/

├── .github/
│   └── ISSUE_TEMPLATE/
│       ├── bug_report.md
│       └── feature_request.md
├── .gitignore
├── 404.php
├── LICENSE
├── README.md
├── README.txt
├── archive-product.php
├── archive.php
├── assets/
│   ├── css/
│   │   └── index.html
│   ├── images/
│   │   └── index.html
│   ├── index.html
│   └── js/
│       └── index.html
├── author.php
├── category.php
├── comments.php
├── composer.json
├── custom-landing-page-full.php
├── custom-landing-page-simple.php
├── editor-style.css
├── footer.php
├── functions.php
├── header.php
├── inc/
│   ├── assets/
│   │   ├── css/
│   │   │   ├── index.html
│   │   │   ├── mynote-alpha-color-picker.css
│   │   │   ├── mynote-image-radio.css
│   │   │   └── mynote-toggle.css
│   │   ├── images/
│   │   │   └── index.html
│   │   ├── index.html
│   │   ├── js/
│   │   │   ├── index.html
│   │   │   ├── mynote-alpha-color-picker.js
│   │   │   └── mynote-image-radio.js
│   │   └── scss/
│   │       ├── config.rb
│   │       ├── index.html
│   │       ├── mynote-alpha-color-picker.scss
│   │       ├── mynote-image-radio.scss
│   │       └── mynote-toggle.scss
│   ├── classes/
│   │   ├── customizer/
│   │   │   ├── class-customize-alpha-color-control.php
│   │   │   ├── class-customize-content-control.php
│   │   │   ├── class-customize-image-radio-control.php
│   │   │   ├── class-customize-toggle-control.php
│   │   │   └── index.html
│   │   ├── index.html
│   │   ├── navbar/
│   │   │   ├── class-mynote-walker.php
│   │   │   └── index.html
│   │   └── widgets/
│   │       └── class-mynote-widget-toc.php
│   ├── customer/
│   │   ├── about.php
│   │   ├── homepage.php
│   │   ├── index.html
│   │   ├── layout.php
│   │   ├── navbar.php
│   │   ├── post-card.php
│   │   ├── post-page.php
│   │   └── progress-bar.php
│   ├── customize-css.php
│   ├── customizer.php
│   ├── icon-functions.php
│   ├── index.html
│   ├── template-functions.php
│   ├── template-hook-functions.php
│   ├── template-hooks.php
│   └── template-tags.php
├── index.php
├── languages/
│   ├── de_DE.mo
│   ├── de_DE.po
│   ├── fr_FR.mo
│   ├── fr_FR.po
│   ├── ja.mo
│   ├── ja.po
│   ├── mynote.pot
│   ├── pt_BR.mo
│   └── pt_BR.po
├── mynote-child/
│   ├── functions.php
│   └── style.css
├── page.php
├── phpcs.xml
├── scss/
│   ├── _bootstrap.scss
│   ├── _breadcrumb.scss
│   ├── _buttons.scss
│   ├── _comment.scss
│   ├── _footer.scss
│   ├── _functions.scss
│   ├── _header.scss
│   ├── _home.scss
│   ├── _labels.scss
│   ├── _main.scss
│   ├── _markdown-theme-github.scss
│   ├── _misc.scss
│   ├── _page-progress.scss
│   ├── _responsive.scss
│   ├── _shortcode.scss
│   ├── _sticky-top.scss
│   ├── _table-of-content.scss
│   ├── _the-author-card.scss
│   ├── _typography.scss
│   ├── _variables.scss
│   ├── _video.scss
│   ├── _widget.scss
│   ├── _wordpress.scss
│   ├── config.rb
│   ├── editor-style.scss
│   ├── index.html
│   └── style.scss
├── search.php
├── searchform.php
├── sidebar-archive.php
├── sidebar-home.php
├── single-product.php
├── single.php
├── style.css
├── tag.php
└── template-parts/
    ├── archive.php
    ├── content-none.php
    ├── index.html
    ├── loop.php
    ├── page-landing.php
    └── pagination.php
Download .txt
SYMBOL INDEX (106 symbols across 20 files)

FILE: functions.php
  function mynote_setup_theme (line 16) | function mynote_setup_theme() {
  function mynote_header_scripts (line 102) | function mynote_header_scripts() {
  function mynote_styles (line 112) | function mynote_styles() {
  function mynote_enqueue_comment_reply (line 131) | function mynote_enqueue_comment_reply() {
  function mynote_register_mynote_menu (line 142) | function mynote_register_mynote_menu() {
  function mynote_widgets_init (line 156) | function mynote_widgets_init() {
  function wp_body_open (line 255) | function wp_body_open() {

FILE: inc/assets/js/mynote-alpha-color-picker.js
  function acp_get_alpha_value_from_color (line 39) | function acp_get_alpha_value_from_color( value ) {
  function acp_update_alpha_value_on_color_control (line 58) | function acp_update_alpha_value_on_color_control( alpha, $control, $alph...
  function acp_update_alpha_value_on_alpha_slider (line 90) | function acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ) {

FILE: inc/classes/customizer/class-customize-alpha-color-control.php
  class Customize_Alpha_Color_Control (line 22) | class Customize_Alpha_Color_Control extends WP_Customize_Control {
    method enqueue (line 48) | public function enqueue() {
    method render_content (line 56) | public function render_content() {

FILE: inc/classes/customizer/class-customize-content-control.php
  class Customize_Content_Control (line 14) | class Customize_Content_Control extends WP_Customize_Control {
    method render_content (line 24) | public function render_content() {

FILE: inc/classes/customizer/class-customize-image-radio-control.php
  class Customize_Image_Radio_Control (line 14) | class Customize_Image_Radio_Control extends WP_Customize_Control {
    method enqueue (line 24) | public function enqueue() {
    method render_content (line 32) | public function render_content() {

FILE: inc/classes/customizer/class-customize-toggle-control.php
  class Customize_Toggle_Control (line 14) | class Customize_Toggle_Control extends WP_Customize_Control {
    method enqueue (line 24) | public function enqueue() {
    method render_content (line 31) | public function render_content() {

FILE: inc/classes/navbar/class-mynote-walker.php
  class Mynote_Walker (line 20) | class Mynote_Walker extends Walker_Nav_Menu {
    method __construct (line 24) | public function __construct() {
    method start_lvl (line 44) | public function start_lvl( &$output, $depth = 0, $args = null ) {
    method end_lvl (line 56) | public function end_lvl( &$output, $depth = 0, $args = null ) {
    method start_el (line 70) | public function start_el( &$output, $item, $depth = 0, $args = null, $...
    method end_el (line 145) | public function end_el( &$output, $item, $depth = 0, $args = array() ) {

FILE: inc/classes/widgets/class-mynote-widget-toc.php
  class Mynote_Widget_Toc (line 17) | class Mynote_Widget_Toc extends WP_Widget {
    method __construct (line 22) | public function __construct() {
    method mynote_toc_js (line 40) | public function mynote_toc_js() {
    method mynote_toc_inline_js (line 48) | public function mynote_toc_inline_js() {
    method widget (line 71) | public function widget( $args, $instance ) {
    method flush_widget_cache (line 81) | public function flush_widget_cache() {

FILE: inc/customer/about.php
  function mynote_customize_about (line 20) | function mynote_customize_about( $wp_customize ) {

FILE: inc/customer/homepage.php
  function mynote_customize_homepage (line 20) | function mynote_customize_homepage( $wp_customize ) {

FILE: inc/customer/layout.php
  function mynote_customize_layout (line 20) | function mynote_customize_layout( $wp_customize ) {

FILE: inc/customer/navbar.php
  function mynote_customize_navbar (line 20) | function mynote_customize_navbar( $wp_customize ) {

FILE: inc/customer/post-card.php
  function mynote_customize_post_card (line 20) | function mynote_customize_post_card( $wp_customize ) {

FILE: inc/customer/post-page.php
  function mynote_customize_post_page (line 20) | function mynote_customize_post_page( $wp_customize ) {

FILE: inc/customer/progress-bar.php
  function mynote_customize_progress_bar (line 20) | function mynote_customize_progress_bar( $wp_customize ) {

FILE: inc/customize-css.php
  function mynote_customize_css (line 13) | function mynote_customize_css() {
  function mynote_toggle_check (line 257) | function mynote_toggle_check( $var ) {

FILE: inc/icon-functions.php
  function mynote_social_links_icons (line 18) | function mynote_social_links_icons() {
  function mynote_nav_menu_social_icons (line 72) | function mynote_nav_menu_social_icons( $item_output, $item, $depth, $arg...

FILE: inc/template-functions.php
  function mynote_remove_invalid_rel_for_category (line 22) | function mynote_remove_invalid_rel_for_category( $var ) {
  function mynote_add_slug_to_body_class (line 34) | function mynote_add_slug_to_body_class( $classes ) {
  function mynote_remove_recent_comments_style (line 57) | function mynote_remove_recent_comments_style() {
  function mynote_read_more (line 77) | function mynote_read_more( $more ) {
  function mynote_remove_thumbnail_dimensions (line 90) | function mynote_remove_thumbnail_dimensions( $html ) {
  function mynote_custom_gravatar (line 103) | function mynote_custom_gravatar( $avatar_defaults ) {
  function mynote_enable_threaded_comments (line 118) | function mynote_enable_threaded_comments() {
  function mynote_comment (line 137) | function mynote_comment( $comment, $args, $depth ) {
  function mynote_comment_form (line 249) | function mynote_comment_form() {
  function mynote_comment_fileds (line 278) | function mynote_comment_fileds() {
  function mynote_move_comment_field_to_bottom (line 333) | function mynote_move_comment_field_to_bottom( $fields ) {
  function mynote_replace_language_attributes (line 347) | function mynote_replace_language_attributes() {
  function mynote_single_post_script (line 359) | function mynote_single_post_script() {
  function mynote_scrolling_script (line 472) | function mynote_scrolling_script() {
  function mynote_alx_embed_html (line 528) | function mynote_alx_embed_html( $html ) {
  function mynote_sanitize_comment (line 540) | function mynote_sanitize_comment( $comment_text ) {

FILE: inc/template-hook-functions.php
  function mynote_header_navigation (line 20) | function mynote_header_navigation() {
  function mynote_footer_widgets (line 86) | function mynote_footer_widgets() {
  function mynote_footer_columns (line 108) | function mynote_footer_columns() {
  function mynote_homepage_promotion (line 130) | function mynote_homepage_promotion() {
  function mynote_homepage_middle_sidebar (line 177) | function mynote_homepage_middle_sidebar() {
  function mynote_homepage_sidebar (line 199) | function mynote_homepage_sidebar() {
  function mynote_archive_sidebar (line 219) | function mynote_archive_sidebar() {
  function mynote_single_post_sidebar (line 239) | function mynote_single_post_sidebar() {
  function mynote_pagination_section (line 266) | function mynote_pagination_section() {
  function mynote_post_metadata (line 288) | function mynote_post_metadata() {
  function mynote_check_responsive (line 330) | function mynote_check_responsive() {

FILE: inc/template-tags.php
  function mynote_nav (line 29) | function mynote_nav( $position = 'header' ) {
  function mynote_default_nav (line 97) | function mynote_default_nav() {
  function mynote_post_thumbnail (line 110) | function mynote_post_thumbnail() {
  function mynote_pagination (line 144) | function mynote_pagination( $range = 1 ) {
  function mynote_excerpt (line 248) | function mynote_excerpt() {
  function mynote_is_text_fade_out (line 262) | function mynote_is_text_fade_out() {
  function mynote_title_progress_bar (line 275) | function mynote_title_progress_bar() {
  function mynote_article_schema (line 297) | function mynote_article_schema( $schema = '' ) {
  function mynote_edit_button (line 324) | function mynote_edit_button() {
  function mynote_column_control_button (line 346) | function mynote_column_control_button() {
  function mynote_comment_button (line 366) | function mynote_comment_button( $show_label = false ) {
  function mynote_read_button (line 391) | function mynote_read_button() {
  function mynote_post_figure (line 407) | function mynote_post_figure() {
  function mynote_posted_date_button (line 431) | function mynote_posted_date_button( $show_label = false ) {
  function mynote_author_posted_date (line 450) | function mynote_author_posted_date( $show_avatar = false, $avatar_size =...
  function mynote_site_icon (line 484) | function mynote_site_icon() {
  function mynote_site_logo (line 501) | function mynote_site_logo() {
  function mynote_author_card (line 520) | function mynote_author_card( $avatar_size = 96, $icon_size = 'sm' ) {
  function mynote_category (line 545) | function mynote_category() {
  function mynote_category_labels (line 559) | function mynote_category_labels() {
  function mynote_site_info (line 581) | function mynote_site_info() {
  function mynote_post_breadcrumb (line 595) | function mynote_post_breadcrumb() {
  function mynote_main_container_css (line 661) | function mynote_main_container_css() {
  function mynote_is_sidebar (line 685) | function mynote_is_sidebar() {
  function mynote_layout_columns (line 709) | function mynote_layout_columns() {
  function mynote_is_post_card_footer (line 735) | function mynote_is_post_card_footer() {
  function mynote_is_post_card_body_footer (line 748) | function mynote_is_post_card_body_footer() {
  function mynote_is_post_card_header (line 762) | function mynote_is_post_card_header() {
  function mynote_is_post_breadcrumb (line 776) | function mynote_is_post_breadcrumb() {
  function mynote_is_post_author_date (line 789) | function mynote_is_post_author_date() {
  function mynote_is_post_featured_image (line 802) | function mynote_is_post_featured_image() {
  function mynote_is_post_author_card (line 815) | function mynote_is_post_author_card() {
  function mynote_is_post_comment_section (line 828) | function mynote_is_post_comment_section() {
  function mynote_is_responsive (line 842) | function mynote_is_responsive() {
  function mynote_body_class (line 855) | function mynote_body_class() {
Condensed preview — 117 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (506K chars).
[
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report.md",
    "chars": 799,
    "preview": "---\nname: Bug report\nabout: Create a report to help us improve\n\n---\n\n**Describe the bug**\nA clear and concise descriptio"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request.md",
    "chars": 560,
    "preview": "---\nname: Feature request\nabout: Suggest an idea for this project\n\n---\n\n**Is your feature request related to a problem? "
  },
  {
    "path": ".gitignore",
    "chars": 310,
    "preview": ".DS_Store\r\n*.rej\r\n\r\n# IDE Files\r\n#-------------------------\r\n\r\n/nbproject/\r\n.idea/*\r\n\r\n## Sublime Text cache files\r\n\r\n*."
  },
  {
    "path": "404.php",
    "chars": 800,
    "preview": "<?php\n/**\n * Error 404 - Page not found.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress\n *"
  },
  {
    "path": "LICENSE",
    "chars": 35147,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "README.md",
    "chars": 3568,
    "preview": "# Mynote\n\nMynote is a WordPress theme with preferred features for developers and programmers.\n\n![Screenshot](./screensho"
  },
  {
    "path": "README.txt",
    "chars": 6139,
    "preview": "=== Mynote ===\r\nContributors: Terry Lin\r\nRequires at least: 3.6\r\nTested up to: 6.2.2\r\nVersion: 2.0.4\r\nLicense: GPLv3 or "
  },
  {
    "path": "archive-product.php",
    "chars": 1282,
    "preview": "<?php\n/**\n * The Archive page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPr"
  },
  {
    "path": "archive.php",
    "chars": 659,
    "preview": "<?php\n/**\n * The Archive page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPr"
  },
  {
    "path": "assets/css/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "assets/images/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "assets/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "assets/js/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "author.php",
    "chars": 399,
    "preview": "<?php\n/**\n * The Author page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPre"
  },
  {
    "path": "category.php",
    "chars": 844,
    "preview": "<?php\n/**\n * The Category page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordP"
  },
  {
    "path": "comments.php",
    "chars": 1835,
    "preview": "<?php\n/**\n * The template for displaying comments\n *\n * This is the template that displays the area of the page that con"
  },
  {
    "path": "composer.json",
    "chars": 485,
    "preview": "{\n    \"name\": \"terrylinooo/mynote\",\n    \"description\": \"A WordPress theme for developers and programmers.\",\n    \"keyword"
  },
  {
    "path": "custom-landing-page-full.php",
    "chars": 418,
    "preview": "<?php\n/**\n * Template Name: Landing Page (full)\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordP"
  },
  {
    "path": "custom-landing-page-simple.php",
    "chars": 273,
    "preview": "<?php\n/**\n * Template Name: Landing Page (simple)\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package Wor"
  },
  {
    "path": "editor-style.css",
    "chars": 15529,
    "preview": "@charset \"UTF-8\";\r\n@font-face {\r\n  font-family: octicons-link;\r\n  src: url(data:font/woff;charset=utf-8;base64,d09GRgABA"
  },
  {
    "path": "footer.php",
    "chars": 873,
    "preview": "<?php\n/**\n * The footer for Mynote theme\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress\n *"
  },
  {
    "path": "functions.php",
    "chars": 8841,
    "preview": "<?php\n/**\n * Basic initialization for Mynote theme\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package Wo"
  },
  {
    "path": "header.php",
    "chars": 1146,
    "preview": "<?php\n/**\n * The header part of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPre"
  },
  {
    "path": "inc/assets/css/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/assets/css/mynote-alpha-color-picker.css",
    "chars": 3006,
    "preview": "/**\r\n * Alpha Color Picker CSS\r\n */\r\n.customize-control-alpha-color .wp-picker-container {\r\n  max-width: 257px;\r\n}\r\n.cus"
  },
  {
    "path": "inc/assets/css/mynote-image-radio.css",
    "chars": 441,
    "preview": ".radio-controls {\r\n  margin-top: 15px;\r\n}\r\n.radio-controls .radio-img {\r\n  border: 3px solid #cccccc;\r\n  margin: 0;\r\n  c"
  },
  {
    "path": "inc/assets/css/mynote-toggle.css",
    "chars": 2890,
    "preview": ".toggle-controls {\r\n  display: flex;\r\n  flex-direction: row;\r\n  justify-content: flex-start;\r\n}\r\n\r\n.disabled-control-tit"
  },
  {
    "path": "inc/assets/images/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/assets/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/assets/js/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/assets/js/mynote-alpha-color-picker.js",
    "chars": 8687,
    "preview": "/**\n * Alpha Color Picker JS\n *\n * This file includes several helper functions and the core control JS.\n */\n\n/**\n * Over"
  },
  {
    "path": "inc/assets/js/mynote-image-radio.js",
    "chars": 549,
    "preview": "/**\n * Customize_Image_Radio_Control\n *\n * Use the image instead of origin radio button.\n *\n * @package   WordPress\n * @"
  },
  {
    "path": "inc/assets/scss/config.rb",
    "chars": 1056,
    "preview": "require 'compass/import-once/activate'\n# Require any additional compass plugins here.\nrelative_assets = true\n\n# Set this"
  },
  {
    "path": "inc/assets/scss/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/assets/scss/mynote-alpha-color-picker.scss",
    "chars": 2504,
    "preview": "/**\n * Alpha Color Picker CSS\n */\n\n .customize-control-alpha-color {\n\t.wp-picker-container {\n\t\t.iris-picker {\n\t\t\t\tborder"
  },
  {
    "path": "inc/assets/scss/mynote-image-radio.scss",
    "chars": 469,
    "preview": ".radio-controls {\n    margin-top: 15px;\n    .radio-img {\n        border: 3px solid #cccccc;\n        margin: 0;\n        c"
  },
  {
    "path": "inc/assets/scss/mynote-toggle.scss",
    "chars": 2014,
    "preview": ".toggle-controls {\n    display:flex;\n    flex-direction: row;\n    justify-content: flex-start;\n}\n\n.disabled-control-titl"
  },
  {
    "path": "inc/classes/customizer/class-customize-alpha-color-control.php",
    "chars": 3198,
    "preview": "<?php\n/**\n * Alpha Color Picker Customizer Control\n *\n * This control adds a second slider for opacity to the stock Word"
  },
  {
    "path": "inc/classes/customizer/class-customize-content-control.php",
    "chars": 833,
    "preview": "<?php\n/**\n * Customize_Content_Control\n *\n * Use the image instead of origin radio button.\n *\n * @package   WordPress\n *"
  },
  {
    "path": "inc/classes/customizer/class-customize-image-radio-control.php",
    "chars": 1849,
    "preview": "<?php\n/**\n * Customize_Image_Radio_Control\n *\n * Use the image instead of origin radio button.\n *\n * @package   WordPres"
  },
  {
    "path": "inc/classes/customizer/class-customize-toggle-control.php",
    "chars": 1324,
    "preview": "<?php\n/**\n * Customize_Toggle_Control\n *\n * Use the CSS toggle button inteaf of checkbox.\n *\n * @package   WordPress\n * "
  },
  {
    "path": "inc/classes/customizer/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/classes/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/classes/navbar/class-mynote-walker.php",
    "chars": 4671,
    "preview": "<?php\n/**\n * Mynote_Walker\n * Custom nav menu by using Bootscrap 4.\n * Bootscrap 4 CSS file is required.\n * https://getb"
  },
  {
    "path": "inc/classes/navbar/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/classes/widgets/class-mynote-widget-toc.php",
    "chars": 2064,
    "preview": "<?php\n/**\n * Mynote_Widget__TOC\n *\n * Add a Table of Content for your article. This widget is for single-post pages only"
  },
  {
    "path": "inc/customer/about.php",
    "chars": 1893,
    "preview": "<?php\n/**\n * Mynote theme customizer: About\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress"
  },
  {
    "path": "inc/customer/homepage.php",
    "chars": 987,
    "preview": "<?php\n/**\n * Mynote theme customizer: Homepage\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPr"
  },
  {
    "path": "inc/customer/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/customer/layout.php",
    "chars": 7479,
    "preview": "<?php\n/**\n * Mynote theme customizer: Layout\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPres"
  },
  {
    "path": "inc/customer/navbar.php",
    "chars": 10626,
    "preview": "<?php\n/**\n * Mynote theme customizer: Navbar\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPres"
  },
  {
    "path": "inc/customer/post-card.php",
    "chars": 3292,
    "preview": "<?php\n/**\n * Mynote theme customizer: Post Page\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordP"
  },
  {
    "path": "inc/customer/post-page.php",
    "chars": 2787,
    "preview": "<?php\n/**\n *  Mynote theme customizer: Post Page\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package Word"
  },
  {
    "path": "inc/customer/progress-bar.php",
    "chars": 5694,
    "preview": "<?php\n/**\n *  Mynote theme customizer: Progress Bar\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package W"
  },
  {
    "path": "inc/customize-css.php",
    "chars": 12580,
    "preview": "<?php\n/**\n * Loading CSS that overwrote the theme defaults by Customizer.\n *\n * @author Terry Lin\n * @link https://terry"
  },
  {
    "path": "inc/customizer.php",
    "chars": 1106,
    "preview": "<?php\n/**\n * Main Customizer in Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPre"
  },
  {
    "path": "inc/icon-functions.php",
    "chars": 3703,
    "preview": "<?php\n/**\n * Social icon links in Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordP"
  },
  {
    "path": "inc/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "inc/template-functions.php",
    "chars": 14637,
    "preview": "<?php\n/**\n * Functions and definitions for Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @pack"
  },
  {
    "path": "inc/template-hook-functions.php",
    "chars": 8325,
    "preview": "<?php\n/**\n * Mynote template functions for hooks.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package Wor"
  },
  {
    "path": "inc/template-hooks.php",
    "chars": 4814,
    "preview": "<?php\n/**\n * Hooks for Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress\n * @su"
  },
  {
    "path": "inc/template-tags.php",
    "chars": 22298,
    "preview": "<?php\n/**\n * Custom template tags for Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package W"
  },
  {
    "path": "index.php",
    "chars": 1366,
    "preview": "<?php\n/**\n * The main template file\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress\n * @sub"
  },
  {
    "path": "languages/de_DE.po",
    "chars": 14719,
    "preview": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Mynote\\n\"\n\"Report-Msgid-Bugs-To: \\n\"\n\"POT-Creation-Date: 2019-05-04 16:02+0000\\n"
  },
  {
    "path": "languages/fr_FR.po",
    "chars": 15462,
    "preview": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Mynote\\n\"\n\"Report-Msgid-Bugs-To: \\n\"\n\"POT-Creation-Date: 2019-05-04 16:02+0000\\n"
  },
  {
    "path": "languages/ja.po",
    "chars": 14116,
    "preview": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Mynote\\n\"\n\"Report-Msgid-Bugs-To: \\n\"\n\"POT-Creation-Date: 2020-01-02 09:03+0000\\n"
  },
  {
    "path": "languages/mynote.pot",
    "chars": 12277,
    "preview": "#, fuzzy\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Mynote\\n\"\n\"Report-Msgid-Bugs-To: \\n\"\n\"POT-Creation-Date: 2020-01-02 09:"
  },
  {
    "path": "languages/pt_BR.po",
    "chars": 15196,
    "preview": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Mynote\\n\"\n\"Report-Msgid-Bugs-To: \\n\"\n\"POT-Creation-Date: 2019-05-04 16:02+0000\\n"
  },
  {
    "path": "mynote-child/functions.php",
    "chars": 485,
    "preview": "<?php\n/**\n * If you would like to customize something by using Mynote, there is an sample\n * ready for you, just copy `m"
  },
  {
    "path": "mynote-child/style.css",
    "chars": 199,
    "preview": "/*\nTheme Name: Mynote Child\nTheme URL: https://terryl.in\nDescription: Mynote Child Theme\nAuthor: Terry Lin\nAuthor URL: h"
  },
  {
    "path": "page.php",
    "chars": 2136,
    "preview": "<?php\n/**\n * Used in Search Results and for Recent Posts in Front Page panels.\n *\n * @author Terry Lin\n * @link https://"
  },
  {
    "path": "phpcs.xml",
    "chars": 15001,
    "preview": "<?xml version=\"1.0\"?>\n<ruleset name=\"WordPress Coding Standards\">\n\t<description>Apply WordPress Coding Standards to all "
  },
  {
    "path": "scss/_bootstrap.scss",
    "chars": 5029,
    "preview": "// Credit: https://github.com/twbs/bootstrap\n// URL: https://getbootstrap.com\n// License: MIT\n// Thanks for Bootstrap te"
  },
  {
    "path": "scss/_breadcrumb.scss",
    "chars": 523,
    "preview": ".breadcrumb {\n    font-size: 0.813rem !important;\n    border-radius: 0 !important;\n\n    ul, li {\n        margin: 0 !impo"
  },
  {
    "path": "scss/_buttons.scss",
    "chars": 2850,
    "preview": ".btn-counter {\n    display: inline-block;\n\n    .btn {\n        float: left;\n        color: #24292e;\n        position: rel"
  },
  {
    "path": "scss/_comment.scss",
    "chars": 2318,
    "preview": "/* Comment */\n\n.discussion-timeline {\n    margin-top: 20px;\n    padding-top: 2px;\n    border-top: 1px solid #e6ebf1;\n}\n\n"
  },
  {
    "path": "scss/_footer.scss",
    "chars": 2673,
    "preview": "\n\n.footer {\n    margin: 40px 0 20px 0;\n\n    .footer-columns {\n        font-weight: 400;\n        font-size: 13px;\n       "
  },
  {
    "path": "scss/_functions.scss",
    "chars": 1392,
    "preview": "// Base functions to get safe web font\n\n@function get-base-font($key: \"en\") {\n\t@return map-get($font-family-base, $key);"
  },
  {
    "path": "scss/_header.scss",
    "chars": 3560,
    "preview": "\r\n\r\n.header {\r\n\tbackground-color: $header_navbar_bg;\r\n\tcolor: #c8c9ca;\r\n\tposition: relative;\r\n\tz-index: 2;\r\n\r\n    .conta"
  },
  {
    "path": "scss/_home.scss",
    "chars": 2364,
    "preview": "\n.section-intro {\n    width: 100%;\n    min-height: $home_intro_box_height;\n    background-color: $home_intro_bg;\n    col"
  },
  {
    "path": "scss/_labels.scss",
    "chars": 1493,
    "preview": ".label {\n    padding: .125rem .25rem;\n    line-height: 1.2;\n    border-radius: .2rem;\n    border: 1px solid transparent;"
  },
  {
    "path": "scss/_main.scss",
    "chars": 5238,
    "preview": "/* Single - Post */\n\n.single-post-header {\n    background-color: #fafbfc;\n    background: none;\n    padding: 20px 0px;\n "
  },
  {
    "path": "scss/_markdown-theme-github.scss",
    "chars": 10782,
    "preview": "@font-face {\n\t\tfont-family: octicons-link;\n\t\tsrc: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAA"
  },
  {
    "path": "scss/_misc.scss",
    "chars": 221,
    "preview": "::selection {\n\tbackground:#04A4CC;\n\tcolor:#FFF;\n\ttext-shadow:none;\n}\n::-webkit-selection {\n\tbackground:#04A4CC;\n\tcolor:#"
  },
  {
    "path": "scss/_page-progress.scss",
    "chars": 1217,
    "preview": "\n$progress-bar-height: 4px;\n$progress-bar-color: rgba(214, 168, 168, 0.1);\n$progress-bar-value-color: dodgerblue;\n\n.prog"
  },
  {
    "path": "scss/_responsive.scss",
    "chars": 4899,
    "preview": "/* > 1200px */\n@include media-breakpoint-up(xl) {\n\n    .section-intro {\n        background-image: url(\"./assets/images/b"
  },
  {
    "path": "scss/_shortcode.scss",
    "chars": 1515,
    "preview": "/* Shortcode */\n\n.brand-link {\n    text-align: center;\n    border: 1px #dddddd solid;\n    border-radius: 50%;\n    displa"
  },
  {
    "path": "scss/_sticky-top.scss",
    "chars": 470,
    "preview": ".sticky-top {\n    position: -webkit-sticky;\n    position: sticky;\n    z-index: 1020; \n\n    &.sidebar {\n        top: 90px"
  },
  {
    "path": "scss/_table-of-content.scss",
    "chars": 1440,
    "preview": "\nnav[data-toggle='toc'] .nav>li>a {\n    display: block;\n    padding: 4px 20px;\n    font-size: $toc_base_font_size;\n    f"
  },
  {
    "path": "scss/_the-author-card.scss",
    "chars": 1134,
    "preview": "\n.author-card {\n    display: flex;\n    border-left: 15px gray(\"200\") solid;\n    background-color: gray(\"100\");\n    borde"
  },
  {
    "path": "scss/_typography.scss",
    "chars": 1904,
    "preview": "/* Typography */\n\n.header {\n    font-weight: 600;\n\n    .search-bar {\n        font-size: inherit;\n    \n        .search-in"
  },
  {
    "path": "scss/_variables.scss",
    "chars": 5984,
    "preview": "// Font settings\n\n$font-family-base-en:    \"-apple-system\", \"BlinkMacSystemFont\", \"Helvetica Neue\", \"Segoe UI\", \"Oxygen\""
  },
  {
    "path": "scss/_video.scss",
    "chars": 265,
    "preview": ".video-container {\n\tposition: relative;\n\tpadding-bottom: 56.25%;\n\tpadding-top: 30px;\n\theight: 0;\n    overflow: hidden;\n "
  },
  {
    "path": "scss/_widget.scss",
    "chars": 2251,
    "preview": "\n/* Sidebar widgets */\n\n.sidebar {\n\n    .widget {\n        border-bottom: 1px #ddd solid;\n        padding: 10px;\n        "
  },
  {
    "path": "scss/_wordpress.scss",
    "chars": 1635,
    "preview": ".alignnone {\n\tmargin: 5px 20px 20px 0;\n}\n\n.aligncenter {\n\tdisplay: block;\n\tmargin: 5px auto 5px auto;\n}\n\n.alignright {\n\t"
  },
  {
    "path": "scss/config.rb",
    "chars": 1023,
    "preview": "require 'compass/import-once/activate'\n# Require any additional compass plugins here.\n\n# Set this to the root of your pr"
  },
  {
    "path": "scss/editor-style.scss",
    "chars": 11632,
    "preview": "@import \"variables\";\n@import \"functions\";\n@import \"bootstrap\";\n\n@font-face {\n\t\tfont-family: octicons-link;\n\t\tsrc: url(da"
  },
  {
    "path": "scss/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "scss/style.scss",
    "chars": 1440,
    "preview": "/*\n\tTheme Name: Mynote\n\tTheme URI: https://terryl.in/en/repository/mynote/\n\tRequires at least: 3.6\n\tTested up to: 6.2.2\n"
  },
  {
    "path": "search.php",
    "chars": 974,
    "preview": "<?php\n/**\n * The Search page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPre"
  },
  {
    "path": "searchform.php",
    "chars": 640,
    "preview": "<?php\n/**\n * Template for displaying search forms in Mynote\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @p"
  },
  {
    "path": "sidebar-archive.php",
    "chars": 406,
    "preview": "<?php\n/**\n * The sidebar part of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPr"
  },
  {
    "path": "sidebar-home.php",
    "chars": 403,
    "preview": "<?php\n/**\n * The sidebar part of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPr"
  },
  {
    "path": "single-product.php",
    "chars": 1251,
    "preview": "<?php\n/**\n * The Single page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPre"
  },
  {
    "path": "single.php",
    "chars": 2950,
    "preview": "<?php\n/**\n * The Single page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPre"
  },
  {
    "path": "style.css",
    "chars": 56870,
    "preview": "@charset \"UTF-8\";\r\n/*\r\n\tTheme Name: Mynote\r\n\tTheme URI: https://terryl.in/en/repository/mynote/\r\n\tRequires at least: 3.6"
  },
  {
    "path": "tag.php",
    "chars": 816,
    "preview": "<?php\n/**\n * The Tag page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress\n"
  },
  {
    "path": "template-parts/archive.php",
    "chars": 1100,
    "preview": "<?php\n/**\n * The Archive page of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPr"
  },
  {
    "path": "template-parts/content-none.php",
    "chars": 276,
    "preview": "<?php\n/**\n * No content displayed.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress\n * @subp"
  },
  {
    "path": "template-parts/index.html",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "template-parts/loop.php",
    "chars": 1759,
    "preview": "<?php\n/**\n * The Loop section of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPr"
  },
  {
    "path": "template-parts/page-landing.php",
    "chars": 3586,
    "preview": "<?php\n/**\n * Template Name: Landing page\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package WordPress\n *"
  },
  {
    "path": "template-parts/pagination.php",
    "chars": 480,
    "preview": "<?php\n/**\n * The Pagination section of Mynote theme.\n *\n * @author Terry Lin\n * @link https://terryl.in/\n *\n * @package "
  }
]

// ... and 4 more files (download for full content)

About this extraction

This page contains the full source code of the terrylinooo/mynote GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 117 files (442.8 KB), approximately 136.9k tokens, and a symbol index with 106 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!