Reputation
272
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 3 15
Impact
~50k people reached

Mar
31
comment How to change the location of admin notice in html without using Javascript?
This is the closest to controlling the placement. Wordpress supposedly does something internally to see where the <h*> tag is and places it there.
Mar
31
comment How to change the location of admin notice in html without using Javascript?
@iantsch Your answer is helpful but not what I intended. I want to control placement of the admin notice in the html. majick's answer helps me do that.
Mar
15
comment How to change the location of admin notice in html without using Javascript?
@Sumit I updated my answer. I just didn't want the focus to go away from the fact that I am asking about admin notices.
Mar
15
comment How to change the location of admin notice in html without using Javascript?
@sumit Sorry, I meant location as in the html on the page itself in a custom page.
Mar
14
comment Display admin notice only on main dashboard page
Note: the function call back will only work in php 5.3 and above so use a function reference if you run into trouble declare a function and reference it as 'my_custom_notice_function'
Aug
30
comment How to remove duplicate sub-menu name for top level menu items in a plugin?
I managed to do it in CSS but it's dirty and not a great solution. .toplevel_page_PLUGIN_NAME .wp-submenu .wp-first-item { display: none; }
May
7
comment How can I programmatically show a specific (template) page, like author.php?
Wordpress loads the author page based on the URL. You can create a specific file called author.php that will allow you to customise the look of the page. Take a look at this codex.wordpress.org/Template_Hierarchy#Author_display
May
5
comment How can I programmatically show a specific (template) page, like author.php?
In general the author.php file is a file meant to be displayed when a user accesses the author's page via url.
May
5
comment How can I programmatically show a specific (template) page, like author.php?
it's unclear what you would like to achieve. Can you maybe explain the purpose behind your request. Maybe in the expanded part explain: "I would like to make an author.php page appear if so an so... "
Mar
31
comment WP custom nav menu problem
@steveBeeSmart I wrote that code, if you can tell me how to customise the html that wp_nav_menu() is producing I'll take down that code and burn it :)
Apr
6
comment How do I display the posts from a custom post type on a category.php page?
@ChipBennett Also changed question title to better match the problem.
Apr
6
comment How do I display the posts from a custom post type on a category.php page?
Thanks for the incredibly fast answer! Yes, that was the issue.
Apr
6
comment How do I display the posts from a custom post type on a category.php page?
@ChipBennett Editted :)
Mar
5
comment How do I copy a wordpress database?
"How to move wordpress.." link is dead..
Nov
13
comment How to redirect url requests to https?
@toscho I searched SO I couldn't find anything that explains what Denis explained. All I could find were how to move http to https when talking about the root domain not a different url and not something that already contains a RewriteRule.
Nov
13
comment How to redirect url requests to https?
Thank you very much for this! I tried on server fault and got put on hold.. I wasn't sure if this needed something special because it's wordpress.
Nov
12
comment Serving HTTP and HTTPS from one installation
This could also be an issue with the wordpress version you're using. I'm running 3.7.1 and things are working at full https.
Nov
12
comment Serving HTTP and HTTPS from one installation
As long as all of your paths are coming from wordpress and everything in your code is marked up with // and not http:// you should be fine.
Nov
3
comment How do I use WP_Query to get a range of posts with custom fields that have numbers with letters in them?
@s_ha_dum So, you're saying the code behind the scenes is converting the string into an int?
Oct
31
comment How do I use WP_Query to get a range of posts with custom fields that have numbers with letters in them?
Sorry, but what? I'm not sure I understand how to do what you are suggesting.