SEO addon based on ACF.
Release tags are created with Semantic versioning in mind. Commit messages were following convention of Conventional Commits.
- WordPress version
>=6.4
. Tested and works fine up to6.5.5
. - PHP version
>=7.4.1
. Tested and works fine up to8.3.8
.
- Go to the latest release.
- Under Assets, click on the link named
Version x.y.z
. It's a compiled build. - Extract zip file and copy the folder into your
wp-content/plugins
folder and activate LEXO ACF SEO in plugins admin page. Alternatively, you can use downloaded zip file to install it directly from your plugin admin page.
Parameters
apply_filters('acfseo/location', $location);
- $location (array) Change the locations where LEXO ACF SEO fields should be shown. By default it's shwon only on
page
post type.
Default $location
array definition is:
$location = [
[
[
'param' => 'post_type',
'operator' => '==',
'value' => 'page',
]
]
];
For durther changes use ACF logic for location
of the groups.
Parameters
apply_filters('acfseo/show-heading-2', $show_h2);
- $show_h2 (bool) Control the presence of the second title. This filter allows you to hide it on specific pages, pages with specific teplates, sepcific post types...
Default $show_h2
value is true
.
Parameters
apply_filters('acfseo/heading-1-type', $h1_type);
- $h1_type (string) Accepted values are
editor
andtext
. It will always fallback totext
, which is default value.
Parameters
apply_filters('acfseo/admin/localized-script', $args);
- $args (array) The array which will be used for localizing
acfseoAdminLocalized
variable in the admin.
Parameters
apply_filters('acfseo/enqueue/admin-acfseo.js', $args);
- $args (bool) Printing of the file
admin-acfseo.js
(script id isacfseo/admin-acfif.js-js
). It also affects printing of the localizedacfseoAdminLocalized
variable.
Parameters
apply_filters('acfseo/seo-title/maxlength', $maxlength);
- $maxlength (int) Increases the
maxlength
for Seo Title field.
Parameters
apply_filters('acfseo/description/maxlength', $maxlength);
- $maxlength (int) Increases the
maxlength
for Description field.
Parameters
apply_filters('acfseo/options-page/capability', $args);
- $args (string) Change minimum user capability for options page.
Parameters
apply_filters('acfseo/options-page/parent-slug', $args);
- $args (string) Change parent slug for options page.
- Fires on LEXO ACF SEO init.
Changelog can be seen on latest release.