Linked Questions

1
vote
1answer
1k views

Whats the proper way to use a php stylesheet in a wordpress theme? [duplicate]

Possible Duplicate: How can I use WordPress functions in my stylesheet? I have a file, custom.php, thats basically a stylesheet with php variables for the styles. I used this guide to make it but ...
0
votes
1answer
332 views

How to use plugins_url() inside PHP stylesheet file [duplicate]

I created a plugin and use php file as stylesheet file PHP style sheet file: <?php header('Content-type: text/css; charset: UTF-8'); $x_position = 0; $y_position = -40px; ?> ....
6
votes
4answers
11k views

How to change the default logout link on WordPress Admin

I want to use another link for logout because I have /wp-admin/* protected with htpassword. Is there a way to do this? Something like creating a custom page like site.com/logout then use it as my new ...
2
votes
3answers
2k views

How can I call a thumbnail/featured image to be a background image?

I activated the post thumbnail by putting this in the functions.php: add_theme_support( 'post-thumbnails'); And this in the loop.php: <?php the_post_thumbnail('full', array ('class' => '...
0
votes
2answers
2k views

PHP in CSS file?

so I have this in my CSS ... #mainnav li:after { content: url('images/nav-divider.png'); } obviously I need to have it link to 'bloginfo('template_directory'); /images/nav-divider.png' instead but ...
2
votes
1answer
1k views

Custom user profile URLs

I have created a page "profile" that when visited with get variable of user id like: http://example.com/profile/?uid=1 Then it will display the profile details of user id 1. Now I want to rewrite … ...
-1
votes
1answer
404 views

Creating complex URLs with Wordpress permalink structure

I'm trying to self-educate so I can have a more informed conversation for a WP site development spec I'm trying to create. Grateful for any answers to what I would like to accomplish. I want to ...
0
votes
1answer
110 views

Choose template depending on URL

I have the following basic page setup: xxx.net/ -> static homepage xxx.net/blog/ -> blog page with loop showing all posts xxx.net/gallery/ -> gallery page with loop only showing posts that are ...
0
votes
0answers
40 views

Plugin “virtual” page [duplicate]

Possible Duplicate: How to Rewrite Wordpress URL for a Plugin Question I am trying to create a plugin that adds an additional page to a Wordpress public site and allows the plugin to control the ...
0
votes
0answers
38 views

How can I process all requests for a given directory in a URL with my plugin?

I'd like to pass all requests for a given directory using a plugin or template file. For instance, all of the following requests would be sent to the plugin: mysite.com/directory/blah mysite.com/...