yoxalld
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Using the www.ads-software.com API@ipstenu I am trying to set up some automated events with my local environment and it’s being done via bash scripting so the php api calls aren’t an option.
@otto42 that could work. I can parse out the single piece of information I need from the larger set. I just wanted to make sure there wasn’t a simpler way to just ask for the piece of information I needed. The documentation was very sparse so it wasn’t clear what was available.
It seems like version 1.2 would have the ability to request only specific pieces of info, but again there is no documentation so I don’t know how the API is set to respond.
Forum: Everything else WordPress
In reply to: Using the www.ads-software.com APIForum: Developing with WordPress
In reply to: How to properly escape a string that includes break tagsThanks for the replies!
@joyously it looks like wp_kses did the trick. It was just a bit more work to get things formatted. But once I get used to it I don’t think it will be a big deal.
@diondesigns I believe your example still throws errors when using a tool like CodeSniffer because the WPCS expects everything to be late escaped which I believe means at the time of echoing (At least that was how the standard made it sound, please correct me if I’m wrong).
- This reply was modified 5 years, 8 months ago by yoxalld.
Forum: Developing with WordPress
In reply to: Can I use wp_query during a function run in wp-cronI’m fine to use the daily timing. It was just a matter of figuring out how to test the functionality. Calling my function in a template file works just fine to test things out. And the WP_Query stuff is working normally when called in that context.
Thanks for the help!
Forum: Developing with WordPress
In reply to: Can I use wp_query during a function run in wp-cronI don’t really need the loop, it was just the easiest way I could think of to accomplish what I was trying to do. Would a get_posts call work? I really just need an array of the posts I need that I am able to loop over.
Thanks!
Forum: Developing with WordPress
In reply to: Can I use wp_query during a function run in wp-cronI’ve set up wp_schdedule_event and have confirmed that the cron job is scheduled. However, the lowest interval I have found to use is daily. So to test it I am hitting the wp-cron.php file and calling the function in the top of the plugin file where I am writing this functionality.
Is there a better way to test the function that would put it in the proper environment?
Thanks for the help!
Forum: Fixing WordPress
In reply to: Phantom Plugin UpdateI have been having the same issue with a couple of different sites of mine. I find that eventually it goes away and I think that’s because whatever plugin is currently causing the phantom update notice gets a new update and the version number updates correctly. I don’t know any specific plugin that causes it and as you have said it is impossible to determine because the plugins don’t indicate that they have an update.
I have tried deactivating the plugins and reactivating them to no avail. I imagine that deleting and re-installing the plugins would fix the issue, but as you have said then you loose all the settings for those plugins.
Forum: Fixing WordPress
In reply to: How to access Item->ID in custom walkerI am still at a loss on how to make this work. I have tried looking at what other properties the walker class has but I can’t find anything that will allow me to get any kind of ID within the start_lvl function. Any help would really be appreciated! Thanks
Forum: Plugins
In reply to: [AutoChimp] Error Code: 311, Message: from_nameI am getting the same error. But with mine it says the email address can’t be verified. I don’t know what email address it is trying to use so I don’t know how to fix it. Any luck figuring out a solution?
Forum: Fixing WordPress
In reply to: How to access Item->ID in custom walkerI still haven’t found a solution to this, does anyone know where I might be able to find more information?
Thanks!
Yes, all plugins are deactivated. When I switch over to the twenty ten theme is still breaks. After some more testing once the admin bar breaks the only way to get it back to normal is to activate the twenty eleven theme and reinstall wordpress. But as soon as I switch to the other theme everything breaks again.
When I activate the twenty ten theme I can see the Menus under appearance but the admin bar at the top is broken.
It is a custom built theme. But I can’t figure out what file could be causing the issue. I thought it might be in the functions.php file but I removed everything from it to see if that would fix the problem and it did not. I don’t understand what other file could cause issues with the admin section of wordpress.
Forum: Fixing WordPress
In reply to: get_posts arrayThanks, I didn’t think about passing the post id from the get_posts array into the get_permalnk function. That should work just fine. Thanks!