Forum Replies Created
-
AuthorPosts
-
May 10, 2015 at 10:47 pm in reply to: Move page title out of band out of the header and into the content area #442156This reply has been marked as private.May 10, 2015 at 6:24 am in reply to: Move page title out of band out of the header and into the content area #442052
That’s how I have it now, but it’s kind of a drag having to manually add titles to every page, and change them manually, if the page name changes. But more importantly, I can’t add titles to the category/archive pages, unless I manually create a category/archive page for every category.
If you want, we could work on just adding titles to the category pages — would that be easier? I just figured that, since it seems the theme has code to create titles for all pages in the Header Title and Breadcrumbs strip, we could maybe get that to show at the top of every body area instead.
Thanks again!
May 10, 2015 at 2:19 am in reply to: Move page title out of band out of the header and into the content area #442022Thanks Ismael, but there are still a few couple of problems with that:
1) It still doesn’t seem to be getting down into the body area — it’s still butted up against the left edge of the browser — we can’t get it to show after the div class=container… or main class=content… tag?
2) It still doesn’t show the category title on the category/archive pages — it still just shows the title of the first post on those pages.
3) It doesn’t seem to be inside the custom-title div, so I don’t see how that selector would affect it.See this screen grab for those three issues:
https://www.evernote.com/shard/s320/sh/585e37f5-8144-4a03-8107-c053accd840b/7d0cd953da6dd2d5d1d5b3a619a4cad4I’d like it to look like how I have the titles manually inserted now:
https://www.evernote.com/shard/s320/sh/b9747b5c-4058-4932-843e-64bd725ec4c0/81eb14b9212f934d26915e4c77f73a6dSeems to me, whatever code you use to get the titles to show in the Header Title and Breadcrumbs strip would be the way to go — that code handles issue #2 above (getting the category/archive page titles to show.
Thanks for your continued effort on this!
May 6, 2015 at 7:33 pm in reply to: Move page title out of band out of the header and into the content area #440599Thanks, Ismael — that’s closer.
Here’s what the first function does: https://www.evernote.com/shard/s320/sh/f753f1d3-cd78-4155-9a73-e8a911a5de6c/369ced36a93c0efed26d007ba74af645 — So, for one, that title’s still in a strip/row above the body area — I’m hoping to get it to show up IN the body area — in the main role=”main” area — where I currently have my manually inserted page titles.
Also, that just adds the first post title to the top of the category pages, instead of the category title: https://www.evernote.com/shard/s320/sh/21482abe-ad3d-4778-810d-135a3e738cb0/f4f407c0c4673b435d51fdb2de8eec49
AND, that still duplicates the post titles on single post pages, where the title’s already automatically being added to the page: https://www.evernote.com/shard/s320/sh/70600708-65c6-4309-9c78-aee2e1c2a48f/6c204c82f6d93d730de0e3174eb52853
The ava_after_main_title hook doesn’t seem to do anything at all. A hook is the same thing as a function, right? I add that in my child theme functions.php file just like the_title function, right?
Thanks!
Awesome sauce, Ismael — you’re the man!
I think maybe you were seeing a cached version from when I had Elliot’s snippet in the includes file. Again, with that snippet in there I got the excerpt and read more links on the category pages, but I would ONLY get the excerpt and read more links on the single posts, too, so I had to remove that snippet. But now I’m back to no excerpts/read more links on the category pages.
http://skidrow.org/category/affordable-housing/
Here’s what I’m seeing: https://www.evernote.com/shard/s320/sh/673274c3-4014-424c-b912-6a33cf87b4b1/9532930bbf9dde6a04a63b419bb1446c
Oops, scratch that — sorry — I asked that hastily. I see now I had some custom css on .content ul that was adding some left margin, thus pushing the right side of the slideshow out of it’s div and effectively chopping off the right side of those images, including the rounded corners ;)
Thanks anyway, sorry for the false alarm!
May 4, 2015 at 2:41 am in reply to: Move page title out of band out of the header and into the content area #438669This reply has been marked as private.May 4, 2015 at 2:40 am in reply to: Move page title out of band out of the header and into the content area #438667Well, I can’t leave the live site like that, but I’ll send you the admin account in private. Thanks and let me know if you have any other questions.
May 3, 2015 at 10:59 pm in reply to: Move page title out of band out of the header and into the content area #438621Sorry, that doesn’t seem to be any different, to me — that still creates duplicate title on posts (see link below) and still no automatic titles on pages. Again, the single posts are fine — they already have titles — what I need is automated page titles and titles for the category/archive pages (the title/name of the category at the top of the page). In other words, if we could somehow bring the titles that are generated in the header “strip” (the same strip where the breadcrumbs show) into the body area, we’d be in business ;) And I do have a child theme in-place, btw.
April 30, 2015 at 6:35 pm in reply to: Move page title out of band out of the header and into the content area #437667Hey, it looks like maybe you didn’t paste the code in your response? All I see is “check if we got posts to display”,
April 28, 2015 at 6:49 pm in reply to: mobile menu and social icons missing, and easy slider not showing on mobile #436290OK, that works — thanks! I added a little fine-tuning to pull it away from the menu icon and line it up vertically with the menu icon lines:
`@media only screen and (max-width: 990px) {
.responsive.html_mobile_menu_tablet #header_main .social_bookmarks {
display: block !important;
position: absolute;
right: 22%;
top: 53%;
}
}`April 28, 2015 at 6:28 pm in reply to: mobile menu and social icons missing, and easy slider not showing on mobile #436278Hmm, I am seeing the menu and slider now — maybe it was just a cache issue or something. But I still don’t see the facebook icon — I don’t seem to have that extra menu with the icon at the bottom of the screen like you do (I’m on an iPhone 6, iOS 8.3, if that helps).
April 28, 2015 at 6:07 pm in reply to: Move page title out of band out of the header and into the content area #436251Thanks, but that only seems to add titles to single posts — I need titles on all pages and archive pages.
April 27, 2015 at 6:53 pm in reply to: Move page title out of band out of the header and into the content area #435517I think I’m looking for the same thing, here — a way to get automatic page titles, but in the body area, not in the strip with the breadcrumbs.
In other words, If I choose “Hide Both” in the Header > Header Title and Breadcrumbs option/pull-down (because I don’t want that extra strip/row in the header), I lose my automated page titles. If I still want titles on my pages, I have to manually add them to each page (e.g., http://skidrow.org/work/ ). And yes, as Kevin mentions, then I don’t have titles on my category pages (e.g., http://skidrow.org/category/affordable-housing/ )
So, is there a way to get the page titles to automatically show in the body area? Ismael’s hook looks close, except that the title would be the same for all pages, that way, right?
Thanks and let me know if you have any questions.
Oh, I’m sorry — I know I tried that (Peter’s post) before, but I thought it didn’t work for me, for some reason… OH! I see what it is! Peter’s snippet doesn’t add the excerpt and read more links. BUT, that snippet combined with Elliot’s tweak to the includes file above (April 22) gives me what I’m looking for — the thumbnails and excerpt and read more links on archives pages.
Thanks guys!!
Uh oh! It looks like Elliot’s snippet in the includes file was actually conflicting with my single posts pages — instead of showing the whole post, they were just showing the excerpt and read more link. So, back to the drawing board. Can we re-open this ticket? Now I’m back to needing excerpts and read more links on my category/archive pages (e.g., http://skidrow.org/category/affordable-housing/ ).
- This reply was modified 9 years, 7 months ago by sky19er.
Perfect! Thank you so much!
Thanks, but that just changes the font color. I’d like to to act just like the other buttons, where the font color stays the same and the background lightens just a little. In other words, how can I keep the font color the same, but just have the background lighten a little (not turn to white)?
This reply has been marked as private.Yes, I’m using the “Advanced Layout Editor” option in Dashboard > Enfold > Blog Layout > Style. I need to use that method so I can maintain the sidebar submenu on the main blog page and put other things in the body area of the main blog page. The code snippet you gave me added excerpts and read more links to my archives pages, I’m just hoping we could also add thumbnails on those archives pages (e.g., http://skidrow.org/category/affordable-housing/).
I’ll send you a login in the following, private reply.
I think I’m having the same issue — my full-width buttons change to white on rollover / hover — http://879.890.myftpupload.com/programs/women-supporting-women/ — and that screencast is a broken link.
Please advise. Thanks!
Right, but when you use the blog post element, it only shows the thumbnails on the blog index — I’ve switched it back to that setting so you can see (e.g., http://skidrow.org/category/affordable-housing/). And if I use the other method, I lose the sidebar submenu and, since I handle my page titles manually, I lose the page title on the blog index.
Now we’re talkin! ;) I went to Dashboard > Enfold > Blog Layout and set the “Blog Style” to the single author, small preview pic style, and made the edit to the includes/loop-index.php file, as noted above, and that did the trick. Now, what if I needed to do that while still using the advanced layout editor blog element? In that case, with your code, I get the excerpt and read more links on the archive pages, but no thumbnail — can you add the thumbnail in that code snippet? Thanks so much!!
Yeah, I’m handling that through the Page Links To plugin. But that doesn’t have anything to do with this, as far as I can tell — I deactivated that plugin and tested and nothing seems any different. The fact remains that if you go to Dashboard > Enfold > Blog Layout and set the “Blog Style” to the single author, small preview pic style, you don’t get any excerpts or read more links anywhere (on either the blog index or the category archives). And if you use the advanced editor method to get excerpts and read more links on the blog index, you get the full posts on the category archive pages.
Thanks, but then there’s no excerpt or read more tag.
Ahh, I had the `if(!function_exists(‘avia_sidebar_menu’))
{` in there, which seemed to break it — thank you!!!FYI, I added an h3.widgettitle to it, which I think is a nice touch:
$default_sidebar = false; $parent = get_the_title($post->post_parent); $parentlink = get_the_permalink($post->post_parent); $sidebar_menu .= "<nav class='widget widget_nav_menu $display_child_pages'><ul class='nested_nav'>"; $sidebar_menu .= "<h3 class='widgettitle'><a href='{$parentlink}'>$parent</a></h3>"; $sidebar_menu .= $children; $sidebar_menu .= "</ul></nav>";
Hmm, I’m still having issues — can’t seem to get the code right without causing an error — any chance you could tell me exactly what I’m supposed to put in the functions.php file of your child theme? Sorry to bug.
Thanks, Ismael — that looks like what I’m talkin’ ’bout! ;) And could you remind me how to handle that via a child theme? I have the child theme all set up and activated, but do i use functions-enfold.php in the child theme, or just functions.php? And what exactly would I include in the child theme file? I got it working by editing the functions-enfold file directly, but can’t seem to get it to work via the child theme. Thanks again!
Thanks, but that’s “semi-manual” ;) Then I’d have to add that for every page in the section and update it every time a page is added in the section, etc. Plus it doesn’t have the linking feature. I was hoping for something more automated, maybe via php / a child theme file? Thanks again.
Hmm, I can’t seem to replicate it, now. I may have deleted a plugin since I last checked, but I can’t remember. Maybe it was something transient with my machine. Anyway, thanks for the reply.
-
AuthorPosts