Joe Ponzio
Forum Replies Created
-
Forum: Plugins
In reply to: [Font Awesome 4 Menus] Missing Argument nav_menu_css_classHi @rivmedia – what version of WordPress are you using?
Forum: Plugins
In reply to: [Font Awesome 4 Menus] Nav Menu Roles plugin conflictCheck out our new update and let me know if you have any problems or conflicts. We’ve updated our code similarly to include the new filters in the wp_nav_menu Walker class.
Forum: Plugins
In reply to: [Font Awesome 4 Menus] Custom Post Type Icon not workingThe plugin doesn’t work for admin menu items, but it’s a great idea to possibly add in. I’ll look into it!
Forum: Plugins
In reply to: [Font Awesome 4 Menus] orWith this plugin, you don’t need to put the icon or span in your menu. You simply put the icon class into the CSS Classes section of your menu item and the plugin takes care of the rest.
Check out the FAQs for help, including how to display the CSS Classes section of the menu items.
Forum: Plugins
In reply to: [Font Awesome 4 Menus] fa-instagram showing old iconThe plugin has been updated. Thanks carlos.palma!
Forum: Plugins
In reply to: [Font Awesome 4 Menus] Icon ABOVE textAbsolutely. The text for the link is placed into a span tag and the icon is put before that span. So you can do something like:
.fontawesome-text { display: block; }
That would make the text into a block-level element which would put it below the icon. You can also style the
li
ora
tags around the menu item to center it, change sizes, or whatever else you want to do once you have the text on the new line. Hope that helps!Forum: Plugins
In reply to: [WordPress REST API (Version 2)] Custom Endpoint Coming In as Array not JSONEmbarrassed to say, but…it was the way the data was coming over. The API & plugin worked as expected and we were chasing down the wrong problem. Thanks!
Forum: Plugins
In reply to: [WordPress REST API (Version 2)] Custom Endpoint Coming In as Array not JSONI tried
$get_json_params = $request->get_json_params(); write_log( '*****BEGIN POST JSON_PARAMS DATA*****' ); write_log( $get_json_params );
…but
$get_json_params
doesn’t print anything. It’s empty. Does that indicate that the data being posted isn’t being read as JSON? Am I missing something?Thanks for your help!
Can you post a link to your site? Nothing has changed in the plugin so I’d need to see the actual site to help out.
Forum: Fixing WordPress
In reply to: Abandoned by overseas coder. Need php help.You need someone who knows Bootstrap and WordPress. It’s not something that can reasonably be tackled on the forums. I agree with @larick65 – you probably need to hire someone.
Forum: Hacks
In reply to: Re-styling webform buttonYou’re putting that code on the paragraph tag surrounding the button, not on the button itself. Change your code to:
.myButton input[type="submit"]{ background-color:#2fe7bf; ... text-shadow:0px 1px 0px #2fe7bf; }
Forum: Fixing WordPress
In reply to: Abandoned by overseas coder. Need php help.The problem is that your “developer” didn’t clear the container which means that it can’t autocalculate the heights properly.
And to add insult to injury, this wasn’t a single oversight – it’s problematic throughout the page (and perhaps the site).
Your social media doesn’t work because the invisible container (which isn’t autocalculating properly) is positioned over the icons making them impossible to click.
You have a poorly coded theme with some (possibly minor) tweaks needed to bandaid it and get it working.
Forum: Fixing WordPress
In reply to: cannot load the site – it shows index.phpIf that’s what you see when you open the page, your server isn’t running PHP and is instead printing the file contents to the screen. You/your host needs to install PHP on your server.
Forum: Fixing WordPress
In reply to: So the Russians hacked our siteIf you have FTP access, you can find the version in
wp-includes/version.php
. Once you find it, you may be able to just grab that version of WordPress from this site (go to Download WordPress and find the archive releases), and replace everything but yourwp-config.php
andwp-content
.That should clean up WordPress, but you’ll still want to check/update your theme and plugins too ??
Forum: Hacks
In reply to: How to override wordpress core php files.I put the
require_once
inside the function so it’s only called when the function is run, because I need it on demand at that time but I don’t need it to load, for example, when someone is just viewing the home page. Why slow the site down?I prefer
require_once
because it first checks if the file has been required and, if so, doesn’t bring it in again. I preferrequire/require_once
overinclude/include_once
becauserequire/require_once
will kill my script if it runs into an error vs.include/include_once
which just generates a warning.During development, I want to write bug-free code. I’d rather my site/application die/end/freeze during development so I can debug it and get it right before I release it into production. Plus, I find it makes finding the error easier because if I
require
something, hit save, reload, and my site crashes, I know what the problem is and I’m not banging my head against a wall later wondering why it’s not working when some function I’m trying to access doesn’t exist because it was never actually loaded in!