The tag has no wiki summary.

learn more… | top users | synonyms

-3
votes
1answer
28 views

Change from blogger to wordpress

I would like to change my blog platform from blogger to wordpress. My website is: http://www.hdpeak.net I would like to keep a similar template and all the posts. What are the necessary steps I ...
0
votes
2answers
50 views

Widget redirecting to home page

Am trying to create a widget that searches for names. The searching and all that is fine, but when I hit submit, I get returned to the front page. I tried messing with the action="", but no matter ...
0
votes
1answer
26 views

check if a file in a plugin folder exists from a locale installation

I need to check if a file exist in my plugin dir: if (fileexists) { ... } else { ... } However, if in place of fileexists I use file_exists(WP_PLUGIN_DIR . "/myplugin/myfile.ext") it returns ...
1
vote
1answer
68 views

plugins_url() works everywhere but wp_reqister_script()

So I should probably mention up front that I'm developing a plugin so my url is 'mysite.com/plugin' (Just in case this is related to my issue. So, In my main plugin file (myplugin.php) I have added ...
0
votes
0answers
10 views

How to give a meaning ful name to my php page inside my plugin [duplicate]

Possible Duplicate: How to Rewrite Wordpress URL for a Plugin Creating my first plugin+widget and am almost done except that want to do some cleanup. In my plugin i have php file as ...
4
votes
1answer
212 views

Add forward slash on categories url (serve one version of a url)

How can I a add forward slash on categories URLs and serve only that version of a category (meaning URLs not ending in forward-slash will redirect to URLs ending in forward slash). I manage to remove ...
0
votes
0answers
80 views

Can't use plugins_url() in Classes [closed]

It seems that plugin_url() cannot be used in classes. This causes an error. <?php /* * Plugin Name: plugins_url * Description: This demonstrates plugins_url() causes an error used in a class ...
0
votes
1answer
289 views

How to call images from your plugins image folder?

I've done a lot of research and learned a lot about WP constants and function usage for getting image paths etc. but still my original problem persists. <img src="<?PHP echo WP_PLUGIN_DIR . ...
0
votes
1answer
35 views

Make custom system url

Let's say my site is example.com I want to create example.com/portfolio without creating a page. I just want to execute some PHP code and display a bit of HTML. Is there any way to create "sytem ...
1
vote
1answer
274 views

Access bloginfo, get_option, and plugins_url from a non-core php file

I am creating a plugin that has a php file in the plugin directory which is accessed directly via a custom rewrite url. I need this file to be able to use the three functions mentioned in the title. ...
0
votes
0answers
243 views

Wordpress Plugin function callback by URL [duplicate]

Possible Duplicate: How to Rewrite Wordpress URL for a Plugin I'm creating a plugin for Wordpress. Is there any way or API to make plugin receive a path or URL so that it can trigger or ...
1
vote
2answers
422 views

plugins_url() incorrectly returns a url with www subdomain

I'm working on a plugin which we'll call "my-plugin" for the purposes of this question. The my-plugin directory looks like this: my-plugin/ |- image.jpg |- script.js |- script.php |- plugin.php ...
2
votes
1answer
352 views

plugin_dir_url() adds path to url

For some reason I get the following output from var_dump( plugin_dir_url( __FILE__ ) ); http://local.dev/wp-content/plugins/C:/development/xampp/htdocs/vanilla/wp-content/themes/twentyeleven/ ...
0
votes
2answers
356 views

URL rewriting for WordPress Network (Multisite) subsite

We have an install of WordPress Network (Multisite) that has multiple blogs running under the url blogs.exampleurl.com where each subsite is blogs.exampleurl.com/site1 /site2 etc... We have a user ...
1
vote
2answers
133 views

Are there functions for file paths, instead of just urls

Is there any equivalent to functions like plugins_url() and content_url() that give you either the relative paths or the file path. For instance, instead of ...
0
votes
1answer
718 views

Posts URL structure like site.com/category/the-post-title

I'm new with wordpress and I would like to understand better if it's possible to create pages with an url based on the category and then the post title, so: something like ...
3
votes
1answer
925 views

Is it safe to pass directory path to plugins_url()?

plugins_url() function accepts plugin slug or file path to build URL for. I have following directory structure: /wp-content/mu-plugins/someplugin/css/file.css ...