- This topic has 3 replies, 2 voices, and was last updated 7 years, 4 months ago by
Tom.
-
AuthorPosts
-
November 14, 2018 at 11:13 am #727398
Scott
On a multi-site WP installation, the [bloginfo value=’name’] shortcode has and continues to work as it should in the Copyright module in the majority of cases, except for two instances that just cropped up:
1) By mistake, the client deleted all of the content in the Copyright section when customizing the settings for one subsite, thus eliminating all of the content in the footer. I copied/pasted the Copyright code back in from another working subsite and saved the changes. However, unexpectedly, both in the preview screen and on the front end of the site the shortcode text not the site title is displayed.
2) To accomplish another task, I added a new subsite to the installation. I then enabled the GeneratePress theme and GP premium and imported both an older and then a fresh version of the settings for GP Premium which includes the Copyright module. In this situation as well, with both the older and the fresh settings import, the [bloginfo value=’name’] shortcode is not being replaced by the site title on the new subsite.This is not a “showstopper”. I can work around what I’m seeing by manually replacing the shortcode with the desired site title in the two subsites with this behavior. I wanted to make you aware of it so that you could look into what is going on. By the way, I used two different browsers to edit/correct the Copyright code (Firefox and Chrome). It didn’t make any difference.
Thanks for your help!
Scott
P.S. I love GeneratePress and GP Premium! I use both for several clients.
November 14, 2018 at 5:46 pm #727617Tom
Lead DeveloperLead DeveloperHi there,
Where is the shortcode coming from? Is the code executing it live on those subsites?
November 15, 2018 at 9:15 am #728203Scott
Tom,
The concern is resolved!
Your question reminded me that the function to enable the shortcode to generate the site title isn’t a part of the Copyright module but is code I added to the functions.php file for the Generate Press Child theme that relies on the primary Generate Press theme.
Following that trail . . . I discovered that the main Generate Press theme rather than the Child theme was active in both of the sites with the concern, hence, the shortcode wasn’t being replaced. Switching to the Child theme in both sites immediately resolved the concern!
Thanks for taking the time to respond to my help request. I really appreciate it.
Scott
November 15, 2018 at 12:58 pm #728397Tom
Lead DeveloperLead DeveloperGlad I could help! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.