Rahul Sonar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: I need urgent Helpsome files could not uploaded.. and some needs proper permissions.. reinstall wordpress and assign proper permissions
Forum: Fixing WordPress
In reply to: Your WordPress.com account, XXX is not authorized to view the statsThis is wordpress.com related question.. ask your question here:
Forum: Fixing WordPress
In reply to: Pay to blog/post custom typedid you assign required capabilities to that user role?
If the user is a subscriber, you need to assign capabilities to subscriber..
More information here:
https://rahulsonar.wordpress.com/2011/02/25/register-post-types-using-capabilities/
Forum: Fixing WordPress
In reply to: Pay to blog/post custom typeNot sure if there is such plugin..
a custom plugin using register_post_types with capabilities and capsman plugin will work for this.. you need to refer codex articles in details..
Forum: Fixing WordPress
In reply to: does is_page_template() accept arraysis_page_template does not accepts array as argument, you need to provide a string..
Forum: Fixing WordPress
In reply to: I want to integrate my fb fan page and wpForum: Fixing WordPress
In reply to: How to set current category as a home pageyou can do this in your functions.php file of your theme, if you know a little php.
On selection of category, save cat id in cookie, and then, use session to detect his first visit each time..Forum: Fixing WordPress
In reply to: Conditional template tag and sub pages extractionI am not sure if you can directly achive this using wp, but you can use an sql query for the same..
select meta_value from $wpdb->posts WHERE post_id = $post_id AND meta_key = '_wp_page_template'
Forum: Fixing WordPress
In reply to: Showing a certain amount of posts of a specific post formatForum: Fixing WordPress
In reply to: Conditional template tag and sub pages extractionis_page_template will check for the page template of main page (current page), not subpages.
Forum: Fixing WordPress
In reply to: condense PHP if statementThis is not a question related to wordpress..
still, answer to your question:
$ar = array("BG", "EE", "FI", .....); if(in_array($shipping_country, $ar)) { // do something.. }
Forum: Fixing WordPress
In reply to: create a box / label with product featuresThe boxes you are using are custom fields. You need to use them in your theme as per your requirements.
Forum: Themes and Templates
In reply to: Theme Creation Page Bodybody tags should start in header.php and ends in footer.php
get_header and get_footer functions in your index.php file, along with get_sidebar.php
Forum: Fixing WordPress
In reply to: There is no Custum Fields bar in wordpressForum: Hacks
In reply to: Cron job only fires if pages are visited – why?you can ask your host to set up a cron for you..