Forum Replies Created
-
AuthorPosts
-
October 1, 2015 at 7:48 pm in reply to: In Pagination Menu; How to Permanently turn on next/last and first/last? #512390
Bingo. Agreed. We’ll let the smart generation be smart.
Please close the ticket.October 1, 2015 at 3:50 am in reply to: Authors Page; How to replace gravatar with user profile pic? #511918Thanks. You can close this ticket.
September 30, 2015 at 10:54 pm in reply to: In Pagination Menu; How to Permanently turn on next/last and first/last? #511862Pagination is turned on, and it’s working fine (ish) I just want the first/last and previous/next options ot appear now even though I only have enough posts to spawn a few pages. Client has agreed that it’s OK to leave it like this though, as it’ll effectively “start working” once we have more posts.
September 30, 2015 at 10:53 pm in reply to: Remove "Archive for Category:" from Archive Page Titles #511861I also tried the advice recommended here which seems straightforward.
Go to your theme directory and open up archive.php. Somewhere in that file will be written “Archive for category <?php single_cat_title(); ?>” replace that with the text of your choosing.
But archive.php does not include any mentions of single_cat_title();.
I’m sure I’m missing something really obvious and easy that’s gonna make me look like a goof, but have given up on avoiding that.
September 30, 2015 at 10:37 pm in reply to: Previous and Next Post Popout Links at Edges of Window #511858Disabled all plugins, didn’t do anything.
Yes, that is the code I used.
add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Blog - Latest News' ) { $args['title'] = "Blog"; $args['link'] = "http://dev.solacesystems.com/blog"; $args['heading'] = 'h1'; } return $args; }
This week I set up a whole new instance of my site (http://dev2.solacesystems.com) on a different host that I’ll be switching to. I have added the same code to my functions file and so far the problem has not come back. But I don’t think it was immediate last time either. Yes, I know that’s weird. Anyway, I’m scheduled to switch to this new site this weekend, so have until then to “wait and see” if it comes back.
September 29, 2015 at 12:42 am in reply to: Previous and Next Post Popout Links at Edges of Window #510479New credentials in private content…
September 28, 2015 at 6:56 pm in reply to: In Pagination Menu; How to Permanently turn on next/last and first/last? #510357Oops. Sorry. http://dev.solacesystems.com
September 28, 2015 at 6:54 pm in reply to: Previous and Next Post Popout Links at Edges of Window #510355Thanks. Sure. Credentials in private content.
That worked like a charm, thanks so much for your help.
I just want the text of the page title to be “Blog” instead of “Blog – Latest News” and
I want it to be a link to http://dev.solacesystems.com/blog instead of http://dev.solacesystems.com
Appreciate your assistance, thanks much.Thanks for responding. Sorry but the instructions are pretty vague, and I need a little more guidance. Can’t risk screwing up my site playing around doing something that’s over my head.
It just says “use the following function.” Does that mean I add it to functions.php in my child theme?
And to set the title and URL to what I want, do I replace get_the_title($id) and get_permalink($id) with the actual title and URL I want like this?add_filter(‘avf_title_args’, ‘fix_single_post_title’, 10, 2);
function fix_single_post_title($args,$id)
{
if ( $args[‘title’] == ‘Blog – Latest News’ )
{
$args[‘title’] = Blog;
$args[‘link’] = /blog;
$args[‘heading’] = ‘h1’;
}return $args;
}September 18, 2015 at 3:25 am in reply to: Conflict with "svg_painter" Causing Widget Problems #505198They did their thing in the functions.php of my Child Theme, so I’m not worried about updates to core Enfold squirreling it up.
Here’s what they did. Figure might as well post the solution in case somebody else runs into same problem.
function wp_dequeue_svg_painter() {
wp_dequeue_script( ‘svg-painter’ );
}
add_action( ‘wp_print_scripts’, ‘wp_dequeue_svg_painter’, 999 );September 15, 2015 at 6:09 pm in reply to: Conflict with "svg_painter" Causing Widget Problems #503585Ah, perhaps I misinterpreted what they meant by “disabling it from the theme’s functions file.”
I thought that’s where it lived and they were commenting it out.
Maybe it’s somewhere else, part of a plugin, and it gets commented out in the functions.php.
I’ll see if they can tell me which plugin it comes from, then find an alternative to that.Resolved. Human error. Please delete if possible, else ignore.
New release works like a charm, thanks for taking care of this problem so quickly!
Shew, new release works like a charm, thanks for taking care of this problem so quickly!
Ditto! Very big problem, popping up all over forum. Posted yesterday (https://kriesi.at/support/topic/editor-generating-extra-nested-tags/) with code example and a video screenshot of EXACTLY what everybody else is describing. (http://screencast.com/t/tZmRFT6jpLl) Hope the problem popping up for others brings some rapid relief!
- This reply was modified 9 years, 2 months ago by JeeBar.
Good! (sorry) I’m just glad It’s not just me. Posted yesterday with code example and video screenshot dismayed by non response. Hope the problem popping up for others brings some relief.
https://kriesi.at/support/topic/editor-generating-extra-nested-tags/
Good! (sorry) I’m just glad It’s not just me. Posted yesterday with code example and video screenshot dismayed by non response. Hope the problem popping up for others brings some relief.
https://kriesi.at/support/topic/editor-generating-extra-nested-tags/
Thanks Andy, I did realize I could manually set the CSS as a kludgey workaround, but it’s frustrating that a feature that’s always worked for me before isn’t working in this case. Any idea why setting the row to “equal height” isn’t working properly in this case?
Cool. If you’d like to look into it (I figure you might since it’s a mystery) here’s credentials in private content.
Thanks Dake. I had tried something like that earlier, just forgot the important p tag. Now I also need to fix it somewhere else so links in containers on my home page work too, which I can handle.
Can you explain WHY it’s doing this? The setting seems pretty straightforward, validated by the preview, but actual behavior is different. Some known gap/bug in the way the setting works?
Yikes. I just found this in the docs, and I really hope it’s not the only way. It says you need to add this stuff to functions.php.
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-small'; return $layout; }
As customizable and well thought out as Enfold is, I can’t believe adding code to functions.php is the only way to make simple changes to the default blog layout. : / If that’s really/unfortunately the case, some explanation or more instruction would be nice.
-
AuthorPosts