- This topic has 39 replies, 3 voices, and was last updated 5 years, 1 month ago by Tom.
-
AuthorPosts
-
March 12, 2019 at 8:51 am #836838TomLead DeveloperLead Developer
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 🙂
March 12, 2019 at 9:28 am #836883JanaThanks, Tom. I’m having access problems today but will look into this once I get on and let you know.
March 12, 2019 at 1:22 pm #837036TomLead DeveloperLead DeveloperSounds good 🙂
March 13, 2019 at 6:58 pm #838305JanaHi 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! JanaYou 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
March 14, 2019 at 8:55 am #838953TomLead DeveloperLead DeveloperHey 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 🙂
March 14, 2019 at 6:17 pm #839337JanaNot 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
March 15, 2019 at 9:54 am #840042TomLead DeveloperLead DeveloperHere’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, choosegenerate_before_main_content
Then you can set your Display Rules to the entire site.
That should do what you’re looking for 🙂
March 15, 2019 at 11:12 am #840110JanaOkay – 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:
[generate_before_main_content]BUT it’s still only showing up on my home page!?
March 15, 2019 at 12:10 pm #840135JanaPS – it’s also not in the header anymore even on the home page.
March 15, 2019 at 4:27 pm #840232TomLead DeveloperLead DeveloperInstead 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/JyGOcwvaMarch 15, 2019 at 7:23 pm #840296JanaI’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 – checkedDisplay Rules > Location – entire site
But the slider isn’t in the header position and only shows up on home page!?!
Thanks for your patience.
March 16, 2019 at 8:47 am #840786TomLead DeveloperLead DeveloperYour site seems to be behind a coming soon page again. Can you check?
Let me know 🙂
March 16, 2019 at 12:49 pm #840930JanaThe site should be accessible now – let me know it isn’t.
March 16, 2019 at 7:10 pm #841096TomLead DeveloperLead DeveloperHmm, 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 🙂
March 17, 2019 at 5:06 pm #841736TomLead DeveloperLead DeveloperSo 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.
-
AuthorPosts
- You must be logged in to reply to this topic.