addmarx
Forum Replies Created
-
Forum: Plugins
In reply to: [SVN repository] How Do I Upload?Monkeyfight: Your description DID help me. Thanks so much for the step-by-step instructions. You saved much time trying to connect the dots!
Forum: Plugins
In reply to: [SVN repository] How Do I Upload?@monkeyfight: Your description DID help me. Thanks so much for the step-by-step instructions. You saved much time trying to connect the dots!
Forum: Plugins
In reply to: How often do tags update?Thanks!
Forum: Plugins
In reply to: Edit or remove a submitted pluginI am basically in the same boat as you, my friend. I worked hard for two months to create my first WordPress plugin (posted 7/10/08) and would at least like to know whom to contact. I submitted a very basic plugin request because I have much more info to add to the eventual plugin page on WordPress. I read the part of the documentation that said that you don’t need to have a plugin homepage for it to be hosted here, so I as well just used my own homepage in that particular field. No response as of yet. If there are any other, more experienced developers on here, could we please receive some understanding as to what’s happening, how to get these questions answered, if not in the forums? If the documentation was actually wrong and the reviewers actually do look for a homepage, how do we unsubmit or resubmit? I guess I just thought this process was a formality, and that all submissions are accepted.
Thanks!
Forum: Plugins
In reply to: Plugin Request — how long?Understood. Is there any way that a plugin could get rejected? I have a plugin all set to go, but am worried because I have not received a response to the short form that I completed to get Subversion access. Do I NEED to have a plugin homepage? I read somewhere that it is optional and so I was just going to use the WordPress directory page for that purpose.
Forum: Plugins
In reply to: Writing a Plugin: How Do I Add HTML After The Content?On the topic you raised about verifying non-duplication (a valid point), I just had the theory that if I made an obscure enough function name, it would not be an issue! So, steer away from something as generic as “addContent” and you should be fine. For instance you could use “RedBMedia_add_Content” and I bet that would be sufficient.
Forum: Plugins
In reply to: Writing a Plugin: How Do I Add HTML After The Content?One final note about the first code snippet. Take out the } right after add_action(‘the_content’, ‘addContent’); and you should be all set.
-Jeff
Forum: Plugins
In reply to: Writing a Plugin: How Do I Add HTML After The Content?PS–If you are solely looking to update the content at the bottom of posts, note that you will need to put some conditional code in there as well. For my plugin, the code to determine whether or not $content was in reference to a posting was accomplished via
if (!is_page() && is_single())
. In other words, if the content is not a “page” (About this Blog is example of a “page” rather than a post) and if the content is single (not the list of postings found on the front page), then execute the change to the $content variable.-Jeff
Forum: Plugins
In reply to: Writing a Plugin: How Do I Add HTML After The Content?Hi there,
I am a relative newbie myself (just created my first plugin and am waiting to upload it).
In response to your question, I think you are actually making it more complicated than needed.
Here is what my plugin essentially does:
<?php function addContent($content) { $content .= '<a href="https://www.yahoo.com">yahoo</a>'; return $content; } add_action('the_content', 'addContent'); } ?>
Hope this helps!
-Jeff