Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #4311

Merged
merged 49 commits into from
Oct 29, 2024
Merged

Release #4311

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
bbd9912
Sync branch [skip ci]
pirate-bot Aug 14, 2024
9501fd3
Sync branch [skip ci]
pirate-bot Aug 14, 2024
5821995
feat: add new custom layout magic tag support
girishpanchal30 Aug 23, 2024
7239708
feat: add messenger social media support
girishpanchal30 Aug 27, 2024
6a522ce
feat: add messenger option in storybook
girishpanchal30 Aug 27, 2024
ae7dee9
fix: cover layout issue with CPT
girishpanchal30 Aug 29, 2024
dbd3636
feat: add help text
girishpanchal30 Aug 30, 2024
fbe764b
fix: lightbox issue with alignment control
girishpanchal30 Sep 2, 2024
2a49c55
fix: css build size
girishpanchal30 Sep 2, 2024
9afa3f4
fix: add inline style instead of increasing css size
girishpanchal30 Sep 3, 2024
98233f1
fix: apply default layout when pro addon is inactive
girishpanchal30 Sep 3, 2024
c8ed6fb
fix: e2e testcase error
girishpanchal30 Sep 3, 2024
da6ef13
fix: e2e remove .entry-header class from hidden list
girishpanchal30 Sep 3, 2024
6936cb5
fix: e2e all elements enabled and reordered
girishpanchal30 Sep 3, 2024
0ca744e
fix: e2e issue with layout elements reordered
girishpanchal30 Sep 3, 2024
fe97f57
fix: e2e issue with backgound layout cover color
girishpanchal30 Sep 3, 2024
28007e8
fix: php warning in template_parts.php
girishpanchal30 Sep 4, 2024
d4769e6
refactor: remove the array value converter
girishpanchal30 Sep 4, 2024
df17c2f
fix: resolve cover layout and styling issues in the free version
girishpanchal30 Sep 5, 2024
b79e03a
fix: e2e remove .entry-header class from order list
girishpanchal30 Sep 5, 2024
5fa0fb1
fix: revert e2e elements reordered changes
girishpanchal30 Sep 5, 2024
23547d7
fix: syntax error
girishpanchal30 Sep 5, 2024
3fb7f47
fix: hide the welcome notice for users who lack install_plugins permi…
girishpanchal30 Sep 9, 2024
fc4abc3
fix: compatibility issue TranslatePress plugin
girishpanchal30 Sep 19, 2024
7650a1d
chore(deps): bump codeinwp/themeisle-sdk from 3.3.28 to 3.3.32
dependabot[bot] Oct 21, 2024
d316975
feat: add new onepage starter site content
girishpanchal30 Oct 22, 2024
dd12f99
Merge pull request #4309 from Codeinwp/dependabot/composer/developmen…
selul Oct 22, 2024
6a51403
feat: upload optimized images
girishpanchal30 Oct 22, 2024
996ed8b
Merge branch 'development' of girish.github.com:Codeinwp/neve into fe…
girishpanchal30 Oct 22, 2024
21d61f3
fix: upload new screenshot
girishpanchal30 Oct 23, 2024
a682631
chore: Update Google fonts
pirate-bot Oct 28, 2024
f9c8e75
fix: update woo sample data xml file url
girishpanchal30 Oct 28, 2024
1a99405
fix: e2e testcase error
girishpanchal30 Oct 28, 2024
014c391
Merge pull request #4310 from Codeinwp/feat/2846
vytisbulkevicius Oct 28, 2024
6cac9ea
chore(deps): bump codeinwp/themeisle-sdk from 3.3.32 to 3.3.34
dependabot[bot] Oct 28, 2024
50916f2
Merge pull request #4312 from Codeinwp/dependabot/composer/developmen…
vytisbulkevicius Oct 28, 2024
c3270de
Merge pull request #4307 from Codeinwp/ci/update-fonts
vytisbulkevicius Oct 28, 2024
a4e2f87
Merge pull request #4293 from Codeinwp/feat/pro/2788
vytisbulkevicius Oct 28, 2024
f2cf406
Merge pull request #4305 from Codeinwp/bugfix/4301
vytisbulkevicius Oct 28, 2024
62fa6d1
Merge pull request #4299 from Codeinwp/bugfix/4117
vytisbulkevicius Oct 28, 2024
1da5560
Merge pull request #4298 from Codeinwp/bugfix/pro/2854
vytisbulkevicius Oct 28, 2024
cd84333
Merge pull request #4297 from Codeinwp/bugfix/4260
vytisbulkevicius Oct 28, 2024
7a1094d
Merge pull request #4295 from Codeinwp/bugfix/4062
vytisbulkevicius Oct 28, 2024
00d2657
Merge pull request #4291 from Codeinwp/feat/addon/2709
vytisbulkevicius Oct 28, 2024
a22f78a
fix: js syntax error
girishpanchal30 Oct 28, 2024
f3474b5
Merge pull request #4313 from Codeinwp/fix/checklist
vytisbulkevicius Oct 28, 2024
93d32a5
Revert "Fixed cover layout issue with CPT"
vytisbulkevicius Oct 28, 2024
f5219e6
Merge pull request #4314 from Codeinwp/revert-4295-bugfix/4062
vytisbulkevicius Oct 28, 2024
461fd8c
bump sdk
selul Oct 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
TextControl,
ToggleControl,
TextareaControl,
ExternalLink,
} from '@wordpress/components';
import IconSelector from './IconSelector';
import { getIcons, ColorControl } from '@neve-wp/components';
Expand Down Expand Up @@ -67,13 +68,27 @@ const RepeaterItemContent = ({

switch (currentField.type) {
case 'text':
if (
'fb_page_id' === key &&
'messenger' !== value[index]?.social_network
) {
return;
}
return (
<TextControl
label={currentField.label}
value={value[index][key] || currentField.default}
onChange={(newData) => changeContent(key, newData)}
key={key + index}
/>
<>
<TextControl
label={currentField.label}
value={value[index][key] || currentField.default}
onChange={(newData) => changeContent(key, newData)}
key={key + index}
help={currentField.help_text || ''}
/>
{currentField?.help_link && (
<ExternalLink href={currentField?.help_link?.link}>
{currentField?.help_link?.text}
</ExternalLink>
)}
</>
);
case 'textarea':
return (
Expand Down
Binary file added assets/img/starter-content/0_0-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/0_0-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/0_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/0_1-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/0_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/0_2-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/starter-content/client-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/starter-content/logo-agency.png
Binary file not shown.
Binary file added assets/img/starter-content/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/starter-content/neve-hero-2.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed assets/img/starter-content/neve-marketing-icon-1.png
Diff not rendered.
Binary file removed assets/img/starter-content/neve-marketing-icon-2.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed assets/img/starter-content/neve-marketing-icon-5.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file added assets/img/starter-content/neve-play1.png
Binary file added assets/img/starter-content/nv-1.jpg
Binary file added assets/img/starter-content/nv-3.jpg
Binary file removed assets/img/starter-content/person-hero-2.png
Diff not rendered.
Binary file added assets/img/starter-content/signature-1.png
Binary file added assets/img/starter-content/signature-2.png
1 change: 0 additions & 1 deletion assets/scss/components/main/_gutenberg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ blockquote {
margin-right: calc(50% - 35vw);
}
}

2 changes: 1 addition & 1 deletion bin/envs/woo-sample/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ curl -O https://raw.githubusercontent.com/WPTT/theme-unit-test/master/themeunitt
wp --allow-root import ./themeunittestdata.wordpress.xml --authors=skip --skip=image_resize

#Setup content for woo
curl -O https://raw.githubusercontent.com/woocommerce/woocommerce/master/sample-data/sample_products.xml
curl -O https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/plugins/woocommerce/sample-data/sample_products.xml
wp --allow-root import ./sample_products.xml --authors=skip --skip=image_resize
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"source": "https://github.com/Codeinwp/neve"
},
"require": {
"codeinwp/themeisle-sdk": "^3.2",
"codeinwp/themeisle-sdk": "^3.3",
"wptt/webfont-loader": "dev-master"
},
"repositories": [
Expand Down
17 changes: 9 additions & 8 deletions composer.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ test.describe('Custom Global Color Control', () => {
await clearWelcome(page);

await page.locator('.block-editor-rich-text__editable').first().click();
await page.locator('.block-editor-block-inspector__tab-item').last().click();
// use Background color control to open the color picker, available since WP 6.1
await page.getByRole('button', { name: 'Background' }).click();
await page.getByRole('option', { name: 'Color: Custom 1' }).click();
Expand Down
29 changes: 27 additions & 2 deletions globals/google-fonts.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Updated on 12/08/24
* Updated on 28/10/24
*
* @package neve
*/
Expand Down Expand Up @@ -91,6 +91,7 @@
'Antic Didone' => array( '400',),
'Antic Slab' => array( '400',),
'Anton' => array( '400',),
'Anton SC' => array( '400',),
'Antonio' => array( '100', '200', '300', '400', '500', '600', '700',),
'Anuphan' => array( '100', '200', '300', '400', '500', '600', '700',),
'Anybody' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100italic', '200italic', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
Expand All @@ -111,6 +112,7 @@
'Arizonia' => array( '400',),
'Armata' => array( '400',),
'Arsenal' => array( '400', '700', '400italic', '700italic',),
'Arsenal SC' => array( '400', '700', '400italic', '700italic',),
'Artifika' => array( '400',),
'Arvo' => array( '400', '700', '400italic', '700italic',),
'Arya' => array( '400', '700',),
Expand Down Expand Up @@ -180,13 +182,15 @@
'Barrio' => array( '400',),
'Basic' => array( '400',),
'Baskervville' => array( '400', '400italic',),
'Baskervville SC' => array( '400',),
'Battambang' => array( '100', '300', '400', '700', '900',),
'Baumans' => array( '400',),
'Bayon' => array( '400',),
'Be Vietnam' => array(),
'Be Vietnam Pro' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100italic', '200italic', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
'Beau Rivage' => array( '400',),
'Bebas Neue' => array( '400',),
'Beiruti' => array( '200', '300', '400', '500', '600', '700', '800', '900',),
'Belanosima' => array( '400', '600', '700',),
'Belgrano' => array( '400',),
'Bellefair' => array( '400',),
Expand Down Expand Up @@ -225,8 +229,10 @@
'Blaka Ink' => array( '400',),
'Blinker' => array( '100', '200', '300', '400', '600', '700', '800', '900',),
'Bodoni Moda' => array( '400', '500', '600', '700', '800', '900', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
'Bodoni Moda SC' => array( '400', '500', '600', '700', '800', '900', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
'Bokor' => array( '400',),
'Bona Nova' => array( '400', '700', '400italic',),
'Bona Nova SC' => array( '400', '700', '400italic',),
'Bonbon' => array( '400',),
'Bonheur Royale' => array( '400',),
'Boogaloo' => array( '400',),
Expand All @@ -250,6 +256,7 @@
'Bungee Outline' => array( '400',),
'Bungee Shade' => array( '400',),
'Bungee Spice' => array( '400',),
'Bungee Tint' => array( '400',),
'Butcherman' => array( '400',),
'Butterfly Kids' => array( '400',),
'Cabin' => array( '400', '500', '600', '700', '400italic', '500italic', '600italic', '700italic',),
Expand Down Expand Up @@ -408,6 +415,9 @@
'Eater' => array( '400',),
'Economica' => array( '400', '700', '400italic', '700italic',),
'Eczar' => array( '400', '500', '600', '700', '800',),
'Edu AU VIC WA NT Dots' => array( '400', '500', '600', '700',),
'Edu AU VIC WA NT Guides' => array( '400', '500', '600', '700',),
'Edu AU VIC WA NT Hand' => array( '400', '500', '600', '700',),
'Edu NSW ACT Foundation' => array( '400', '500', '600', '700',),
'Edu QLD Beginner' => array( '400', '500', '600', '700',),
'Edu SA Beginner' => array( '400', '500', '600', '700',),
Expand Down Expand Up @@ -490,9 +500,11 @@
'Fruktur' => array( '400', '400italic',),
'Fugaz One' => array( '400',),
'Fuggles' => array( '400',),
'Fustat' => array( '200', '300', '400', '500', '600', '700', '800',),
'Fuzzy Bubbles' => array( '400', '700',),
'GFS Didot' => array( '400',),
'GFS Neohellenic' => array( '400', '700', '400italic', '700italic',),
'Ga Maamli' => array( '400',),
'Gabarito' => array( '400', '500', '600', '700', '800', '900',),
'Gabriela' => array( '400',),
'Gaegu' => array( '300', '400', '700',),
Expand Down Expand Up @@ -630,7 +642,7 @@
'Inspiration' => array( '400',),
'Instrument Sans' => array( '400', '500', '600', '700', '400italic', '500italic', '600italic', '700italic',),
'Instrument Serif' => array( '400', '400italic',),
'Inter' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900',),
'Inter' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100italic', '200italic', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
'Inter Tight' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100italic', '200italic', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
'Irish Grover' => array( '400',),
'Island Moments' => array( '400',),
Expand All @@ -643,6 +655,7 @@
'Jacquard 24' => array( '400',),
'Jacquard 24 Charted' => array( '400',),
'Jacquarda Bastarda 9' => array( '400',),
'Jacquarda Bastarda 9 Charted' => array( '400',),
'Jacques Francois' => array( '400',),
'Jacques Francois Shadow' => array( '400',),
'Jaini' => array( '400',),
Expand Down Expand Up @@ -685,6 +698,7 @@
'Kaisei Tokumin' => array( '400', '500', '700', '800',),
'Kalam' => array( '300', '400', '700',),
'Kalnia' => array( '100', '200', '300', '400', '500', '600', '700',),
'Kalnia Glaze' => array( '100', '200', '300', '400', '500', '600', '700',),
'Kameron' => array( '400', '500', '600', '700',),
'Kanit' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100italic', '200italic', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
'Kantumruy' => array(),
Expand Down Expand Up @@ -842,6 +856,7 @@
'Marvel' => array( '400', '700', '400italic', '700italic',),
'Mate' => array( '400', '400italic',),
'Mate SC' => array( '400',),
'Matemasie' => array( '400',),
'Material Icons' => array( '400',),
'Material Icons Outlined' => array( '400',),
'Material Icons Round' => array( '400',),
Expand Down Expand Up @@ -870,6 +885,7 @@
'Metrophobic' => array( '400',),
'Michroma' => array( '400',),
'Micro 5' => array( '400',),
'Micro 5 Charted' => array( '400',),
'Milonga' => array( '400',),
'Miltonian' => array( '400',),
'Miltonian Tattoo' => array( '400',),
Expand All @@ -884,6 +900,7 @@
'Mochiy Pop P One' => array( '400',),
'Modak' => array( '400',),
'Modern Antiqua' => array( '400',),
'Moderustic' => array( '300', '400', '500', '600', '700', '800',),
'Mogra' => array( '400',),
'Mohave' => array( '300', '400', '500', '600', '700', '300italic', '400italic', '500italic', '600italic', '700italic',),
'Moirai One' => array( '400',),
Expand Down Expand Up @@ -938,6 +955,7 @@
'Nerko One' => array( '400',),
'Neucha' => array( '400',),
'Neuton' => array( '200', '300', '400', '700', '800', '400italic',),
'New Amsterdam' => array( '400',),
'New Rocker' => array( '400',),
'New Tegomin' => array( '400',),
'News Cycle' => array( '400', '700',),
Expand Down Expand Up @@ -1161,6 +1179,7 @@
'Noto Serif Vithkuqi' => array( '400', '500', '600', '700',),
'Noto Serif Yezidi' => array( '400', '500', '600', '700',),
'Noto Traditional Nushu' => array( '300', '400', '500', '600', '700',),
'Noto Znamenny Musical Notation' => array( '400',),
'Nova Cut' => array( '400',),
'Nova Flat' => array( '400',),
'Nova Mono' => array( '400',),
Expand Down Expand Up @@ -1246,6 +1265,7 @@
'Pirata One' => array( '400',),
'Pixelify Sans' => array( '400', '500', '600', '700',),
'Plaster' => array( '400',),
'Platypi' => array( '300', '400', '500', '600', '700', '800', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic',),
'Play' => array( '400', '700',),
'Playball' => array( '400',),
'Playfair' => array( '300', '400', '500', '600', '700', '800', '900', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
Expand Down Expand Up @@ -1449,6 +1469,7 @@
'Rye' => array( '400',),
'STIX Two Math' => array(),
'STIX Two Text' => array( '400', '500', '600', '700', '400italic', '500italic', '600italic', '700italic',),
'SUSE' => array( '100', '200', '300', '400', '500', '600', '700', '800',),
'Sacramento' => array( '400',),
'Sahitya' => array( '400', '700',),
'Sail' => array( '400',),
Expand All @@ -1460,6 +1481,7 @@
'Salsa' => array( '400',),
'Sanchez' => array( '400', '400italic',),
'Sancreek' => array( '400',),
'Sankofa Display' => array( '400',),
'Sansita' => array( '400', '700', '800', '900', '400italic', '700italic', '800italic', '900italic',),
'Sansita Swashed' => array( '300', '400', '500', '600', '700', '800', '900',),
'Sarabun' => array( '100', '200', '300', '400', '500', '600', '700', '800', '100italic', '200italic', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic',),
Expand Down Expand Up @@ -1616,6 +1638,7 @@
'Tilt Warp' => array( '400',),
'Timmana' => array( '400',),
'Tinos' => array( '400', '700', '400italic', '700italic',),
'Tiny5' => array( '400',),
'Tiro Bangla' => array( '400', '400italic',),
'Tiro Devanagari Hindi' => array( '400', '400italic',),
'Tiro Devanagari Marathi' => array( '400', '400italic',),
Expand Down Expand Up @@ -1691,6 +1714,7 @@
'Whisper' => array( '400',),
'WindSong' => array( '400', '500',),
'Wire One' => array( '400',),
'Wittgenstein' => array( '400', '500', '600', '700', '800', '900', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
'Wix Madefor Display' => array( '400', '500', '600', '700', '800',),
'Wix Madefor Text' => array( '400', '500', '600', '700', '800', '400italic', '500italic', '600italic', '700italic', '800italic',),
'Work Sans' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100italic', '200italic', '300italic', '400italic', '500italic', '600italic', '700italic', '800italic', '900italic',),
Expand Down Expand Up @@ -1724,6 +1748,7 @@
'ZCOOL KuaiLe' => array( '400',),
'ZCOOL QingKe HuangYou' => array( '400',),
'ZCOOL XiaoWei' => array( '400',),
'Zain' => array( '200', '300', '400', '700', '800', '900',),
'Zen Antique' => array( '400',),
'Zen Antique Soft' => array( '400',),
'Zen Dots' => array( '400',),
Expand Down
13 changes: 13 additions & 0 deletions header-footer-grid/Core/Magic_Tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ public function current_single_excerpt() {
return is_singular() ? get_the_excerpt() : '';
}

/**
* Single Post Content.
*
* @return string
*/
public function current_single_content() {
return is_singular() ? get_the_content() : '';
}

/**
* Single Post meta.
*
Expand Down Expand Up @@ -590,6 +599,10 @@ private function setup_config() {
'label' => __( 'Current Single Excerpt', 'neve' ),
'type' => 'string',
],
'current_single_content' => [
'label' => __( 'Current Single Content', 'neve' ),
'type' => 'string',
],
'current_single_url' => [
'label' => __( 'Current Single URL', 'neve' ),
'type' => 'url',
Expand Down
4 changes: 2 additions & 2 deletions header-footer-grid/templates/components/component-logo.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@

$aria_label = trim( get_bloginfo( 'name' ) . ' ' . get_bloginfo( 'description' ) );
if ( $is_not_link ) {
$start_tag = '<span class="brand" title=" ' . get_bloginfo( 'name' ) . '" aria-label="' . esc_attr( $aria_label ) . '">';
$start_tag = '<span class="brand" title="&larr; ' . get_bloginfo( 'name' ) . '" aria-label="' . esc_attr( $aria_label ) . '">';
$end_tag = '</span>';
} else {
$start_tag = '<a class="brand" href="' . esc_url( home_url( '/' ) ) . '" title=" ' . get_bloginfo( 'name' ) . '"
$start_tag = '<a class="brand" href="' . esc_url( home_url( '/' ) ) . '" title="&larr; ' . get_bloginfo( 'name' ) . '"
aria-label="' . esc_attr( $aria_label ) . '" rel="home">';
$end_tag = '</a>';
}
Expand Down
Loading
Loading