raincoven
Forum Replies Created
-
Unfortunately there is no way to receive bigger image that current size from facebook rss feed, which converted to WP posts.
I will try to look for third party crospost services. Thanks for Help!
It seams like posts already have featured image as file uploaded to the site but it steel have image referred to FB in og:image tag.
(featured image from above example: http://www.universaltint.com.au/blog/wp-content/uploads/2014/09/162-thumb.jpg)
This is the example link: http://www.universaltint.com.au/blog/2014/09/10/universaltint-has-a-new-security-officer/
As you can see there image has the next source: “https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xap1/v/t1.0-9/q92/s130x130/10635991_690178454405418_7284093909698515041_n.jpg?oh=16b9fe96ed720a2bd0e0382054472af8&oe=54A426A2&__gda__=1419173939_9b4f0592cfcec65c0896851b92f8b5be
but og:image tag has no get params.
Forum: Fixing WordPress
In reply to: Can't upload image from adminI tried to google about this issue and turns out that this is a very old bug. It mostly happen because of some JS code conflict in plugin and WP admin. Will write if i will find a way to solve it.
Allright, I will try to find out that is the real reason of that issue.
Thanks for you help.I have made same steps as you do.
1) This is the screen of ACF setup: http://screencast.com/t/fGdMUBqz
2) Thei it appeared in recurring event admin edit form: http://screencast.com/t/N0f3HsOS
3) I entered some info to fields and update post.Post not updated.
Do you think I have problem not related to Events Manager plugin?
Yes, I setup custom fields to be displayed in recurring-event posts.
I resolve it with next steps:
1) I get search filter args from $_POST variable like this:$args = array(); foreach ($_POST as $key=>$val) { if (!empty($val) && !empty($key)) { $args[$key] = $val; } } $events_obj = EM_Events::get($args);Keep in mind that default search form send to $_POST variable different array keys from used in EM_Events::get() function, so i made my custom form.
2) So then I get all of events with applied search filter I just took all that i need with my custom function.
$events = get_unique_events($events_obj);This is not the best decision but it work and plugin code shouldn’t be modified.
Ok, I resolve it. I just get search args from %_POST variable and make a custom request without using plugin buildin search.
Thank for help.
Solution to use next code doesn’t meet my goal.
$args = array('limit'=>1, 'search'=>'Party');For example I have 3 recurring events. “Max Party”, “Alex Party”, “Dance party” and then I search for “Party” I should get all of listed events and result shouldn’t contain more then one instance of each recurrence.
Also I need search data to output some additional information.
Thanks Marcus, it is cool, but could I just get search result as array of events? Formatted output is not the thing that I need.
Yes, you understand me correct.
The code, suggested bu tuo will give me all of events but I need search result. May be I describe my problem incorrect so lets look for example.
I have “Party” event. It happen every week in friday. I look for “Party” in Search and it show me 10 absolutely equal “Party” events with different date. I need only one future event to be shown. I dont need to have others events except “Party” because I haven’t search for them.
I shouldn’t to do additional request to database – search function already made it. I just need data.Thanks for advise, but it not what I am looking for. In thread that you suggested me just description how to get all of events but I need exact event search result stored in variable.
Ok, it is clear.