mariostella
Forum Replies Created
-
Forum: Plugins
In reply to: [Geo Mashup] [Plugin: Geo Mashup] Display Posts Near Point Not WorkingI am trying
<?php $coords = GeoMashup::post_coordinates(); echo GeoMashup::map('map_content=global&remove_geo_mashup_logo=true&radius_mi=10&near_lat=' . $coords['lat'] . '&near_lng=' . $coords['lng'] . '') ?>
But it completely ignores the near_lat and near_lng, I think my syntax is messed up though, but I can’t seem to get it right.
Forum: Plugins
In reply to: [Geo Mashup] [Plugin: Geo Mashup] Display Posts Near Point Not WorkingThanks Dylan! Now the map works fine.
I was wondering if it is possible to avoid specifying the near_lat and near_lng parameters when the page already has saved mashup coordinates, so to be able to use it in a template file.
Also, is it possible to only have markers of posts showing in a global map, and not those of pages?
Thanks in advance
Forum: Fixing WordPress
In reply to: Fatal Error: Call to Undefined function: meta ()Did you solve it? Having same issue here
Forum: Hacks
In reply to: How to pass form valuesThat is of course not on the same file. I just posted everything on pastebin on the same document for easy of use. Does not help, thanks anyway.
Forum: Plugins
In reply to: [Advanced Excerpt] Advanced Excerpt not workingThanks for your reply Joy, I do realize that, and I did try all four ways to see if it was my bad or a problem with the plugin logic. So I checked the Keep markup and selected all tags, then unselected them all, then unchecked keep markup and done the same with the tags (all selected then unselected). All four instances did not bring about what I wantedm, and of course when all tags were allowed I would get all the html in the excerpt, making it a mess.
So, the only thin NOT WORKING is the paragraph tag not being removed. If I have a paragraph in the content, no matter what, it stays in the excerpt, all other tags are removed.
Hope this clarifies what workd and what not, and my understanding of the plugin.
This plugin does not work for me as expected.
Forum: Hacks
In reply to: Pass form values to query_postsSorry for bumping, but I am still, well, bumping my head against the wall over this.. anyone please?
Forum: Hacks
In reply to: Custom Value in iframeForum: Hacks
In reply to: Pass custom field value from post to iframeSo two brains are better than one, and I could have never gotten to the solution without your function above (have no friggin’ idea WHY
<?php get_post_meta($post->ID, 'mykey', true) ?>
alone won’t do, which I was using…anyhow…)You have to pass the id parameter in the iframe URL.
So change your iframe url call adding postid=<?php echo the_ID(); ?> it should be something like<iframe src="wordpress/wp-content/themes/twentyone/pop.php?postid=<?php echo the_ID(); ?>" width="280" height="280"></iframe><br />
Then retrieve it in the iframe code using GET
query_posts('p='.$_GET['postid']);
So the whole iframe code will be:
<?php query_posts('p='.$_GET['postid']); ?><?php if ( get_post_meta($postid, 'yourkey', true) ) : ?><?php echo get_post_meta($postid, 'yourkey', true) ?><?php endif; ?>
Also, if you are getting the error above, it might be that you have to create a template for the iframe code, then assign it to a new page. Be sure to include all the working templates tags like WP_head and so on.
Hope it helped!
Forum: Plugins
In reply to: [Advanced Excerpt] Advanced Excerpt not workingSame here. It has not stripped tags for me since version 0.x.x of the plugin. I used it with 2.9, now use it with 3.0.4. I updated it but it has the same issue. No tag stripping at all. I just need it to remove the paragraph tag, but it does not work even when <p> is the only selected tag.
Everything else works fine. Such a pity, wish I could do it myself.
Thanks for any help.Forum: Plugins
In reply to: [Single MP3 Player] [Plugin: Single MP3 Player] You have to payThey do not even remove plugins that add links to the developer’s website in your blogroll a few days after activation (sleazy!), and keep adding them after removal. I reported such plugins, was told that action was to be taken to remove them from the rep, but nothing happened.
So the fact that your COMMERCIAL plugin is still here means nothing.And hey, if I have to pay a CENT to get your plugin working that means your plugin IS NOT FREE. Simple. But, hey, let’s other people judge. Good luck.
Forum: Plugins
In reply to: [WP JW Player] [Plugin: WP JW Player] This player inserts some hidden codeHi, I did not get any on mine, are you sure it is this plugin? Did you get on any page, the video page, or other pages?
Forum: Plugins
In reply to: [Single MP3 Player] [Plugin: Single MP3 Player] You have to payFrom what you say follows: “if you want to use this puligin, you have to pay 5$ for the player, so this plugin is broken, dont work without paying!!! “
So this plugin is not free. Simple.
OH MY! I was going to test this, I am outta here! Thanks for the heads up.
Forum: Hacks
In reply to: Pass form values to query_posts@alvaron No luck at all with your advice. I must be missing the proper way of formatting the form data. I am not sure I am doing it correctly. Could you please take a look at my pastebin data and see if there are macroscopic errors I should correct? I have tried various combinations with id, name and value, but nothing works.
Forum: Hacks
In reply to: Pass form values to query_postsHi, thanks Alvaron
Probably you replied after the mod removed my code (@mod: sorry for the slip by the way.)
So here ya go with pastebin: https://wordpress.pastebin.com/EQSPiFc0
Hope this makes things clearer for you.I saw your post on your blog and the issue is not how to filter posts from one category or multiple, either getting posts from all those categories or just those that belong to all the categories at the same time, as that would be
query_posts('cat=1,2,3,4');
and
query_posts(array('category__and'=>array(1,2,3,4),'showposts' => -1)); ?>
respectively.My issue is: I want to use the latter function (so get posts that belong to multiple categories at the same time), but I want users to select what these categories should be from a number of checkboxes. I have no idea how to pass the values of the checkboxes to the friggin’ array!! It is driving me nuts (of course I am a total rookie at this, so…)
I will try and see if your suggestion can help in any way though!
Obrigado!