elementor / elementor/elementor

Include/Exclude Context toggle button in "Archive Title" module don't work as expected in search templates

Open
#10,424 25 comments 1 reaction 0 assignees View on GitHub
bug mod/b* product/pro theme-builder
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

Hi! The toggle button for include/exclude "context" in the archive title module when using a condition for search templates in Theme Builder seems to be unset.

The problem seems to be inside the class _Utils_ in file _elementor-pro/classes/utils.php_
The if statement for **is_search()** inside the method: _public static function get_page_title( $include_context = true )_
missing an if statement for: **if ( $include_context ){....}**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.