icc97
  • Member for 10 years, 10 months
  • Last seen more than a week ago
How to display user registration form on front-end of the website?
15 votes

TLDR; Put the following form into your theme, the name and id attributes are important: <form action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" method="post"> ...

View answer
Variable use in get_template_part
Accepted answer
7 votes

D'oh, it just needs a global as its inside a function. messages.php: <?php global $message; echo $message; ?>

View answer
How to use get_template_part()?
4 votes

From the get_template_part codex: <?php get_template_part( 'loop', 'index' ); ?> will do a PHP require() for the first file that exists... So effectively it will work as if you were ...

View answer
show image in mail contact form 7
3 votes

As per my comments, it seems you are trying to attach images to emails rather than 'show' them. Since you have [file* image filetypes:jpg|png|gif] what you need to do is put [image] in the 'File ...

View answer
how to create a static front page for my blog in wordpress
Accepted answer
3 votes

From @Ray Mitchel's answer the tutorial shows you how to set a specific page in your blog to be the front page. Assuming you're using the TwentyEleven theme, you need to learn about page templates. ...

View answer
Why do I get comment spam even with Akismet and Captcha?
2 votes

The other way to stop bots is through the 'hidden input field' - i.e. a field that is hidden from view and is made obvious for screen readers that it shouldn't be used, but if it is filled out then ...

View answer
How can I get all posts data from within a paginated search result?
Accepted answer
2 votes

The whole loop mechanism is based around having a filtered $posts array. So looking in The Loop documentation on multiple loops it gives a PHP explanation for the standard loop code you use: <?...

View answer
WPSE Plugin Repository: The plugins that came out of WP-Answers
1 votes

Pitta Migration Description Migrates the database wp_options to match WP_HOME and WP_SITEURL Type Plug & Play, no config needed beyond setting the WP_HOME and WP_SITEURL constants Download ...

View answer
Non-permalink custom taxonomy not found
1 votes

The problem was 'exclude_from_search' => true in the register_post_type options. Given that setting 'public' => true defaults to exluding from search by default I assumed that this was the ...

View answer
Notify admin when page is edited?
1 votes

@IanDunn's answer should work but I haven't tested it. However the structure for save_post callbacks is different from transition_post_status. The WordPress codex save_post page has its own code for ...

View answer
Steps to optimize WordPress in regard to server load and website speed?
1 votes

Guide for checking plugin slow down There's a beautifully simple plugin called Page Load Time, which adds timer to your page footer. Its actually only four lines of code: <?php function ...

View answer
Filter Select results based on selection
1 votes

Seeing as my comments seemed to answer the question: To get access to the URL params you want $wp_query->query_vars['myvar']: http://wordpress.org/support/topic/how-to-pass-value-in-wordpress-url, ...

View answer
I need to disable responsive feature of a theme called Meet GavernWP
1 votes

The main theme css (http://www.bookelivery.in/wp-content/themes/MeetGavernWP/css/template.css?ver=3.5.2) you are using does everything through a fluid layout - so everything with percentages. Thus ...

View answer
Saving fields in a drop-down in Wordpress
1 votes

This is the code from the WordPress core code - line 580: <label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label> <select name="page_template" ...

View answer
Force page to open in html mode
Accepted answer
1 votes

Try this Force html edit plug-in.

View answer
PHP if Condition not working
1 votes

All the others are correct of course, but if you really like your OR you can apply a bit of logic (!x&&!x === !(x||x)): <?php if (!(is_page('about-us') || is_page('news-articles'))) {...

View answer
How to remove these fields from the 'Profile' section?
1 votes

From the wordpress support forum you can do the removal using PHP. This removes the About Yourself section: if (! function_exists('remove_plain_bio') ){ function remove_plain_bio($buffer) { ...

View answer
How to use get_option() without any filter?
1 votes

I'm guessing that you are using language tags around 'polish textdeutschland text' i.e. <!--:pl-->polish text<!--:--><!--:de-->deutschland text<!--:--> but that they got ...

View answer
How to: Easily Move a WordPress Install from Development to Production?
0 votes

After having followed this answer for a while I've created my own small plugin - Pitta Migration. The reasons being: Of all the ideas tried here - the simplest is the WP_HOME and WP_SITEURL options ...

View answer
Explanation of WP_Query
0 votes

You use a new object if you want to keep the main query but want to handle a separate query in the same page. From The Loop Codex examples: If you need to keep the original query around, you can ...

View answer
Workflow for working with git and WordPress
0 votes

The problem with the linked article in your question is that it is suggesting to download WordPress and then create your own git repo - but then this cannot be easily updated. Instead you can have ...

View answer
home_url on IIS missing permalink index.php
0 votes

Trying the add_filter option didn't actually work for me. The code gets quite ugly as the home_url function was impacting permalinks which have index.php and all my attempts to get it working failed. ...

View answer
Logout redirects to /forums/
0 votes

Search your WordPress database: SELECT * FROM wp_options WHERE option_value LIKE '%forums%'; The option_name of the returned rows should give you a pointer to the offending plugin

View answer
Simple Online Payment for Event Registration
0 votes

Wordpress is not great at e-commerce, so your best bet is to go with the most used solution which is wp e-commerce. This may have far too many options for you but it is flexible and so will allow you ...

View answer
How can I create an upload page for (and only visible to) specific users?
Accepted answer
0 votes

The plugin Omni Secure Files has quite a nice upload interface and different wordpress user roles can be given permission to either upload or just view the uploaded files Update from comment Here's ...

View answer
Hosting plugin with excanvas (dependency of flot, jqPlot and more) in official repository?
0 votes

I'm quite certain that now wordpress.com itself uses flot - see the WordPress blog sexy stats post. I'd say that's good enough reason to ignore any wordpress.org complaints.

View answer
Form Submitting Error with get_template_part()
0 votes

This is a more detailed explanation of the first answer - i.e. "scope is you're problem" My simple visualisation of get_template_part is like this: function get_template_part($slug) { require("$...

View answer
get_template_part inside get_template_part?
0 votes

From the get_template_part codex: <?php get_template_part( 'loop', 'index' ); ?> will do a PHP require() for the first file that exists... So it should just be a standard require that ...

View answer
Creating WordPress Admin Themes
0 votes

Yes, you definitely can create your own admin themes. The Executive Admin theme is a good example. Update: I've just realised that this doesn't work with wordpress 3.3.1 (its designed for WP 3.2.1) - ...

View answer
Is there any plugin for course management?
0 votes

It doesn't exactly meet your requirements, but if you use the Omni Secure Files (OSF) plugin it will give you a Folders / Files implementation with the ability to upload files. They're half way to ...

View answer