- This topic has 16 replies, 3 voices, and was last updated 3 years, 9 months ago by Tom.
November 22, 2015 at 6:51 pm #154836Chris
I’m trying to place my site tagline below the logo. I have GP Premium, trying to use GP Hooks.
I disabled site tagline in Customizer, and then added the following to GP Hook “After Header Content”:
<p class=”site-description”>My site tagline</p>
I save everything, but the tagline never shows. Did a search on view source, and the content is not being written into the HTML. Using latest GeneratePress.November 22, 2015 at 6:53 pm #154837TomLead DeveloperLead DeveloperNovember 22, 2015 at 6:55 pm #154838Chris
Yes, it is still there on refresh, in the GP Hook text area.November 22, 2015 at 6:56 pm #154840TomLead DeveloperLead DeveloperNovember 22, 2015 at 6:57 pm #154841November 22, 2015 at 6:58 pm #154842TomLead DeveloperLead Developer
That is very odd – never experienced this issue before.
Is it possible to receive temporary admin login details to firstname.lastname@example.org so I can personally take a look?
Let me know 🙂November 22, 2015 at 7:00 pm #154843Chris
Unfortunately, no. I can email contents of some files if that will help.November 22, 2015 at 7:01 pm #154844TomLead DeveloperLead Developer
Hmm, what happens if you place the content into a different hook? After Header for example?
What about if you add some text with no HTML like: TESTINGNovember 22, 2015 at 7:01 pm #154845Chris
It just worked itself out. Very strange. All my test code just popped at the same time.
Perhaps a super cache issue.November 22, 2015 at 7:05 pm #154847Chris
Confirmed, WP Super Cache is messing with the header and GP hooks settings, and causing a delay in their refresh. When I turned off WP Super Cache, all returns to normal.November 22, 2015 at 7:05 pm #154848TomLead DeveloperLead Developer
Aha – when in doubt check the cache.
It’s best to keep cache disabled until development is done or clear the cache after each change.
Glad you got it sorted 🙂November 21, 2017 at 5:26 pm #430296Howard
Tom: I am having this problem currently. I will try to put hook code under different heading and see if it persists. I will also deactivate cache when working on tagline and pursue that end.
If not…. can I give you admin details?
HowardNovember 21, 2017 at 7:58 pm #430359TomLead DeveloperLead DeveloperNovember 24, 2017 at 10:28 am #432901Howard
Re: Hook code to change TAG FOR SITE to go under LOGO not staying
Still evaluating a few plugins that might be causing problem before I have you come to the rescue!
I have deactivated a plugin from my previous Theme (my themeshop) . It is as below:
Activate | Delete
This plugin modifies the default behavior of the WordPress plugin and theme editors.
Version 22.214.171.124 | By Benjamin Rojas | View details
Should this be kept or deleted or either or?
Also: trying out deactivating (also left over from My Themeshop)
WP Tab Widget
Activate | Delete
WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
Version 1.2.7 | By MyThemeShop | View detailsNovember 24, 2017 at 7:40 pm #433322TomLead DeveloperLead Developer
It’s hard for me to tell which plugins are or aren’t necessary, as I’m not sure what each one does.
If you don’t think you’re using it, then you can probably deactivate it 🙂
- You must be logged in to reply to this topic.