Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter mattron

    (@mattron)

    Okay, well it’s really just about how to override something in a core script in a comments.php – it could be my theme, any theme, it could twenty eleven, it doesn’t matter, they all have a comments.php that uses <?php comment_form(); ?>

    As i said in my question, I DO NOT want to change the actual core script – I have a goal to change the way the comment form is treated, I figured out how to alter the core script to make it do what I want, but I need to now figure out how to override the core script or manipulate it through another file in my theme – probably the comments.php or functions.php. – I in no way want to advocate changing the core script, in fact, this post is about exactly the opposite, I am trying to figure out how to get around doing that.

    Thank you for your concern though – any help is appreciated.

    Thread Starter mattron

    (@mattron)

    But it’s not a question about the theme, it’s a question on how to alter a core wordpress file without actually changing it, just forget about the theme, I just wanted to list all information if it helped at all…

    Thread Starter mattron

    (@mattron)

    haha – right on, yeah I’m aware – it’s a bummer, it’s a lot to ask of someone to help you on an issue when you can’t even show them what you’re talking about – it’s really annoying too, but yest, thank you, and thanks everyone for the help!

    Matt

    Thread Starter mattron

    (@mattron)

    JerrySarcastic – were you being sarcastic about the link to the site, because I explained it is a local site, and can’t give a link – thanks anyway though!

    esmi – I am using a child theme

    alchymth The Sweeper – It’s usually the simplest solutions! This is the first site I’ve designed after this feature, and completely forgot about that, and that was the problem – thank you!

    Thread Starter mattron

    (@mattron)

    Also – I have tried uninstalling all plugins and the problem persisted – just fyi

    Thanks!

    Thank you so much! It worked!

    Thank you so much brother!
    It worked, and it is excellent!

    Thank you, and best wishes!
    mattron.

    brasofilo,

    Thank you so much! That’s exactly what I needed! It doesn’t seem to be working right now however, but it is probably something on my end.

    I copied the new code from the pastebin and replaced the old function in the functions.php file, and on my pages put the shortcode, example:
    [myblogroll catslug=”photography”], but still each category shows up on the page. Any thoughts?

    I really appreciate your help!
    mattron.

    Brasofilo –

    Thank you so much for this! It is exactly what I needed!

    There is just one more thing that would help me out –
    I have three separate pages that will each display only one of the link categories from the my link order plugin, so I am using the function you have provided three times, each with different shortcodes that I will trigger on their respective pages.

    What I need to know is how to either tell this function to only include one specific category, or how to exclude more than one category. I tried this:
    if ($term->count > 0 && $term->slug!='literary,fun-stuff') {
    and
    if ($term->count > 0 && $term->slug!='literary, fun-stuff') {
    and
    if ($term->count > 0 && $term->slug!='literary','fun-stuff') {
    but none seem to work.

    Any help would be very much appreciated!
    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)