style.min.css code issue

You can tell by the ID on the <link href=”https://wordpress.stackexchange.com/questions/287569/… tag that the stylesheet”s ID is mesmerize-style, so you should be able to dequeue with this function in your child theme. wp_dequeue_style( ‘mesmerize-style’ ); Make sure it’s hooked into wp_enqueue_scripts with a higher priority than the parent theme’s hook (probably 10). That’s the general answer … Read more

Get value of submit button in custom post type

I woke up and had a revelation, as you do… WordPress was using Javascript to prevent the action of the submit buttons to make an ajax call instead. Turning off Javascript solved my problem. Now I can move on to the Javascript enhancement of my own.

Add a leading zero to pagination

wp_link_pages_link filters the entire HTML link (<a href… etc.), which is why what you’ve got isn’t working. There doesn’t appear to be a filter for just the page number, $i, so you’ll need a workaround. Since the callback function for the wp_link_pages_link filter passes the $i, we could use that to find the number inside … Read more

need to edit php file of child theme to remove an element

Editing your theme files is not a good idea. If you don’t fully understand the theme, you might break it. Moreover, if the theme is updated, it will overwrite all your edits. The correct way to do this is make a child theme. You don’t need ftp access. You can also upload it from dashboard->themes->add-bew-theme->upload. … Read more

Add active class to foundation 6 tabs while looping categories

Sure, you can use a counter. Just move your while loop a little higher. Something along these lines: <ul class=”tabs” data-tabs id=”example-tabs”> <?php // counter for ul.tabs $i=0; $bulletin_types = get_object_taxonomies( ‘bulletinboard’ ); foreach( $bulletin_types as $bulletin_type ) : $terms = get_terms( $bulletin_type ); foreach( $terms as $term ) : // increment each one $i++; … Read more

Switch position of elements in the footer [closed]

You can solve this by using Flexbox. Add the following CSS code somewhere in your theme stylesheet or via dashboard Appearance > Customize > Additional CSS .fusion-copyright-content { display: flex !important; flex-direction: row-reverse !important; } .fusion-copyright-content .fusion-social-links-footer { margin-right: auto !important; }