Exhale footer quotes – customize

2 Replies ·

  1. Exhale & Unravel are a great combination! Nice job Justin!

    I really like the various quotes in the footers of each page. How do we customize these quotes to our own liking, please?

  2. Justin Tadlock

    There’s a filter hook named exhale/poweredby/collection that you can overwrite or add to. You can add the following to your child theme’s functions.php file.

    To overwrite completely:

    add_filter( 'exhale/poweredby/collection', function() {
        return [
            'Your first quote.',
            'Your second quote.'
    } );

    To add extra quotes to it:

    add_filter( 'exhale/poweredby/collection', function( $collection ) {
        $collection[] = 'Your first quote.';
        $collection[] = 'Your second quote';
        return $collection;
    } );
  3. Marcus Tibesar

    Thank you Justin!

    Here are the quotes that I installed:

    add_filter( 'exhale/poweredby/collection', function() {
        return [
            'People say nothing is impossible, but I do nothing every day.',
            'The difference between stupidity and genius is that genius has its limits.',
            'The average dog is a nicer person than the average person.',
            'Doctors are just the same as lawyers. The only difference is that lawyers merely rob you, whereas doctors rob and kill you too.',
            'Trouble knocked at the door, but, hearing laughter, hurried away.',
            'As a child my family’s menu consisted of two choices: take it or leave it.',
            'Don’t worry about the world coming to an end today. It is already tomorrow in Australia.',
            'By the time a man realizes that his father was right, he has a son who thinks he’s wrong.',
            'Political correctness is tyranny with manners.',
            'A stockbroker urged me to buy stock that would triple its value every year. I told him, ‘At my age, I don’t even buy green bananas.',
            'If you think nobody cares if you’re alive, try missing a couple of car payments.',
            'The duty of a patriot is to protect his country from its government.',
            'Never have more children than you have car windows.',
            'You know you’re getting old when you stoop to tie your shoelaces and wonder what else you could do while you’re down there.',
            'One tequila, two tequila, three tequila, floor.',
            'I’ve got all the money I’ll ever need, if I die by four o’clock.',
            'The safe way to double your money is to fold it over once and put it in your pocket.',
            'Cleaning up with children around is like shoveling during a blizzard.',
            'Age is an issue of mind over matter. If you don’t mind, it doesn’t matter.',
            'Worrying is like paying a debt you don’t owe.',
            'I want my children to have all the things I couldn’t afford. Then I want to move in with them.',
            'We spend the first twelve months of our children’s lives teaching them to walk and talk and the next twelve telling them to sit down and shut up.',
            'My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you’re ugly too.',
            'Inflation is when you pay fifteen dollars for the ten-dollar haircut you used to get for five dollars when you had hair.',
            'If you could kick the person in the pants responsible for most of your trouble, you wouldn’t sit for a month.',
            'Opportunity is missed by most people because it is dressed in overalls and looks like work.',
            'A rich man is nothing but a poor man with money.',
            'My doctor gave me six months to live, but when I couldn’t pay the bill he gave me six months more.',
            'When I die, I want to die like my grandfather who died peacefully in his sleep. Not screaming like all the passengers in his car.',
            'A lie gets halfway around the world before the truth has a chance to get its pants on.',
            'If you’re going through hell, keep going.'
    } );