Edit url based exhibition titles
This commit is contained in:
parent
0c74117eae
commit
9c50caa6d7
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ return function ($page) {
|
|||
// Add url based title to each exhibition
|
||||
foreach ($exhibitions as &$exhibition) {
|
||||
$exhibition['title'] = str_replace(['http://', 'https://', 'www.'], '', $exhibition['url']);
|
||||
$exhibition['title'] = rtrim($exhibition['title'], '/');
|
||||
}
|
||||
|
||||
// Get contact fields content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue