Archived topic
A couple of questions -
39 replies · Started by Jana on March 10, 2019
Hey Jana,
Leo asked me to take a look at this.
I'm trying to see your site, but it still says Coming Soon for me. Can you double-check that it's viewable?
Let me know :)
Thanks, Tom. I'm having access problems today but will look into this once I get on and let you know.
Sounds good :)
Hi Tom - I got the merged site header to work somewhat (I'm using SiteOrigin Builder with it)
<div>
[widget id="temp"]
</div>
But, it's very small and it only shows on my main page, even though I've set the rules to Entire Site, excluding the Blog & Posts. I'd like it to look more like - https://awionline.org
And I also can't get the blog posts titles to be centered, even though I've changed them in Customize/Layouts.
Thanks! Jana
You should be able to see the site at:
http://69.89.27.245/~animama7/test/
(I was able to see it with an incognito window so I hope you can.)
Thanks, Jana
Hey Jana,
It doesn't look like the slider was added inside the actual Element, it looks like it was added inside the content. That would explain why it's only showing on the home page.
Also, it doesn't look like you need to set the Page Hero to merge with your header to achieve the look you're going for.
Let me know :)
Not to be dense, but I'm confused. Doesn't the "widget" whose code is in the elements have to "live" somewhere? When I delete it from the home page content, then it doesn't show up anywhere. And, for this effect, wouldn't I have to add it to every page (which wouldn't be practical since it's going be updated). I did add the working logo to the sidebar since that's a constant.
And you say I don't need to use the Page Hero merge but not using the Site Header merge means that the slider doesn't show up in the header (where I want it) but only in the content part of the page.
Thanks,Jana
Here's what I would do.
1. Remove the shortcode from your content.
2. Remove the Header Element you created.
3. Create a Hook Element:
4. Add the shortcode into the content of your hook.
5. Check the "Execute Shortcodes" checkbox.
6. As your hook, choose generate_before_main_content
Then you can set your Display Rules to the entire site.
That should do what you're looking for :)
Okay - let's just admit I'm a total moron but I MUST get this!
Here's what I did:
1. Remove the shortcode from your content. (I removed it from the Header element, which I also removed - think that's what you meant?).
2. Remove the Header Element you created. (Done)
3. Create a Hook Element: (Done)
4. Add the shortcode into the content of your hook. (Done)
5. Check the “Execute Shortcodes” checkbox. (Done)
6. As your hook, choose generate_before_main_content
7. Set your Display Rules to the entire site (done - no exclusions)
So here's what it looks like:
BUT it's still only showing up on my home page!?
PS - it's also not in the header anymore even on the home page.
Instead of this:
[generate_before_main_content]
You'll need to add the shortcode that outputs the slider itself. I assume the slider plugin you're using gives you a shortcode to use?
Then, you would add generate_before_main_content as the hook for the element: https://www.screencast.com/t/JyGOcwva
I've followed your screenshot and used my slider shortcode:
[widget id="temp"]
Hook - before_main_content
(there is no 'generate_before_main_content' choice in the pulldown menu)
Execute Shortcodes - checked
Display Rules > Location - entire site
But the slider isn't in the header position and only shows up on home page!?!
Thanks for your patience.
Your site seems to be behind a coming soon page again. Can you check?
Let me know :)
The site should be accessible now - let me know it isn't.
Hmm, I'm not seeing the hook on the home page at all. The slider you're seeing is inside your content.
Maybe you can send me temporary login details so I can take a quick look at what's going on? If so, you can use the Account Issue form here: https://generatepress.com
Let me know :)
So it seems you're using this as the shortcode inside your Element: [widget id="temp"]
However, you don't have any widgets added to the "Widget Shortcode" area in "Appearance > Widgets".
You'll need to insert the slider into that widget area, and then update the widget ID in the shortcode to the correct ID.
That should fix it.