markroth
Forum Replies Created
-
Thank you for your reply.
Yeah, I know about limiting notifications by tag or category. That’s not what I’m talking about, though.
Subscribe2 has a field on a post’s page (on the admin side, of course) which is unchecked by default. When selected, nobody is notified of the post.
Most of the time, I want to let subscribers know of new material. Sometimes, though, I don’t. Does MailPoet not provide this option like Subscribe2 does?
Thanks again,
MarkForum: Fixing WordPress
In reply to: Can’t drag and drop blocks in 5.5This old dog is no fan (yet?) of Gutenberg (or burg or bug or whatever he is) or of blocks. I gave it a spin because I read somewhat that eventually the Classic Editor plugin would no longer work with WP five-plus-who-knows-how-much. One thing I stalled out on was this dragging business. I finally gave up and switched back to Classic Editor. Now I just saw this thread referenced on Facebook. That was last month, I think. I still haven’t recovered so I’ll keep working in Classic Editor. 😀
Forum: Fixing WordPress
In reply to: Header Code to Make Admin Preview WorkJust in case anyone ever sees this thread and thinks it might address a problem they’re having, I just did a blog post explaining what I did: Create a Custom WordPress Page Template for HTML Content. 🙂
Forum: Fixing WordPress
In reply to: Header Code to Make Admin Preview WorkThank you, Joy, for your gracious reply. 🙂
Forum: Fixing WordPress
In reply to: Header Code to Make Admin Preview WorkWow, Joy! You have gone to a lot of bother to be helpful. I’m incredulously appreciative of that.
Alas, I’m here to eat humble pie. I’m chagrined, dismayed, mortified, and so forth.
All that time and effort you invested was not necessary…because of an oversight of mine. I am very, very sorry. 🙁
All the hours I spent trying this and trying that, and all the hours I spent looking there and looking here, were not necessary…because of an oversight of mine.
I forgot to delete the original index.html from the root directory! After reading your previous message and seeing that what you did was essentially what I did…it suddenly hit me that I’d forgotten index.html. I renamed it…and preview works.
Valuable lesson for me to learn. I’m sorry it cost you too. 🙁
Grateful for your time and help,
MarkForum: Fixing WordPress
In reply to: Header Code to Make Admin Preview WorkThank you for your reply, Joy.
I’m sorry about my lack of specificity in those regards.
I’m talking about the preview in the editor and a template for my child theme.
This single-use template is for the home page. It does not use WP header, footer, content, sidebar, or any such. (This is a stop-gap measure until I have the time to develop something different that’s entirely WP.)
Well, an unanticipated result of going this route is that when I want to preview an unpublished post or page, it displays the home page.
I assume that’s because the header is missing whatever WP code it takes to display the unpublished post/page instead. So I would like to add that code to my template without getting any of the other header code.
Forum: Themes and Templates
In reply to: [GeneratePress] Missing TitlesThank you, Tom. And my apologies for falling off the grid for a couple of days.
After reading your last line above, I felt very dumb. :/ I don’t know how I missed that! I appreciate your patience and kindness in pointing that out…without being demeaning for my missing that obvious fact. I salute you for that.
Anyway, back to the problem. I hadn’t done anything with my functions.php since January 19. I opened it and found the culprit…
add_action( 'after_setup_theme','tu_after_setup_theme' ); function tu_after_setup_theme() { add_filter( 'generate_show_title', '__return_false' );I have no recollection putting that there, but I don’t doubt I did. I commented it out and the problem was resolved.
So the problem, instead of being a recent development, had been long-standing. And I had no idea. 🙁
I’m very sorry to have wasted your time on this. 🙁 Thank you again for sticking through it with me. I hope that by the middle of the year I can afford to buy GP Premium — I owe you that much, at least. 🙂
Grateful but humbled,
MarkForum: Themes and Templates
In reply to: [GeneratePress] Missing TitlesThank you, Leo.
Yeah, I know about the code you mention above.
This line of code is the “culprit”:
if ( generate_show_title() ) : ?>That’s what I intend to comment out in my custom pages. Then it will work. I know that already. I just didn’t want to have to go that route if there was a setting I couldn’t find. There isn’t, so that’s that. 🙂
No, I’m sure it’s not a plugin issue. As I noted yesterday, I disabled all my plugins and it did not resolve the problem.
Forum: Themes and Templates
In reply to: [GeneratePress] Missing TitlesUnless there’s a fix I can put in the functions.php file…
Forum: Themes and Templates
In reply to: [GeneratePress] Missing TitlesGood assumption. 😉
This isn’t a problem on just one page. As far as I know, it’s on all pages and posts.
For example, http://www.clpcle.com/products/the-work-of-his-hands/ should show The Word of His Hands as the post title. I look at the code and here’s the pertinent portion:
<header class=”entry-header”>
</header><!– .entry-header –>Titles are obviously stripped by default. And apparently just as obviously, there’s no setting to change. So the next obvious thing is the solution: I’ll just use custom content-single and content-page files in my child theme. 🙂
Thank you again for engaging me here on this issue. I really appreciate that.
Forum: Themes and Templates
In reply to: [GeneratePress] Missing TitlesNope. I do not have those custom files in my child theme.
Forum: Themes and Templates
In reply to: [GeneratePress] Missing TitlesThank you, Leo.
I’m a “cheapskate” — I don’t have GP Premium nor do I have the Disable Elements add-on. (And individual posts do not have Content Title checked.)
I renamed the plugins folder. Made no difference.
I guess I can just put content-single and content-page in my child theme with the appropriate line(s) removed or at least commented out.
Unless there’s a way to correct this with less mess.
Thanks again,
MarkForum: Themes and Templates
In reply to: [Tiny Forge] Icon webfont for social networksLess than two hours ago, I was trying to do the social menu thing. Finally figured out what the deal is. Now I just found this thread.
I was going to build a Tiny Forge child theme for a new site, but I guess I better wait for Tiny Framework…
So far, I really like Tiny Forge, though. Thanks!
Forum: Themes and Templates
In reply to: [SemPress] Changing widgets in functions.phpOK, I think I got it now (through more trial and error):
// CHANGES WIDGET HEADINGS TO H3 (INSTEAD OF H1) add_action( 'after_setup_theme', 'remove_parent_theme_features', 10 ); function remove_parent_theme_features() { remove_action( 'init', 'sempress_widgets_init' ); add_action( 'init', 'ph_sempress_widgets_init' ); } function ph_sempress_widgets_init() { register_sidebar( array( 'name' => __( 'Sidebar 1', 'sempress' ), 'id' => 'sidebar-1', 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => "</section>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => __( 'Sidebar 2', 'sempress' ), 'id' => 'sidebar-2', 'description' => __( 'An optional second sidebar area', 'sempress' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => "</section>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); }It works for me. Is it proper coding, though?
Here’s where I have it implemented: Panting Hart.
Forum: Themes and Templates
In reply to: [SemPress] Changing widgets in functions.phpI’m sorry, mido116. I thought you were telling me in your first comment that I should make those changes in sidebar.php. My apologies for misunderstanding.
So, now that I’m on the same page with you, yes, I know that’s what needs to change. But like I said in my opening post, I just can’t get how to implement remove_action (or whatever it takes in the child theme).
You gave me a link in the Codex, but I’d already been there repeatedly. And I’ve read plenty of other stuff. Like I said in my opening, “nothing I’ve read has penetrated this thick skull far enough to produce something usable.” 🙁