1,440 reputation
1418
bio website
location Mauritius
age
visits member for 11 months
seen 29 mins ago
stats profile views 54

1d
comment wp-bootstrap theme from 320press.com
I guess you should inquire with the theme creators.
May
16
comment Core files changed - site hacked?
Obfuscated code = most probably yes.
May
14
comment How to backup and restore configurations
copy the whole database. Read Moving WordPress.
May
13
comment Display posts of the last 7 days
Note that orderby=highest_rated isn't inbuilt in WordPress. Are you using some plugin for ratings?
May
10
comment Adding additional text fields and image upload to a Page?
OP probably came across an example using Advanced Custom Fields if he mentionned get_field.
May
10
comment mysql custom wp query
Note that what you're looking for is post_tag not post_tags.
May
8
comment Get value from db for custom contact form
You shouldn't require http://www.bastards-design.de/sebastian/wp-blog-header.php. You should pass the path relative to the files you are using. Read include, it works in the same way as require
May
7
comment Where/how does optimizepress declare the sidebars?
Use your code editor to search the theme's folder for register_sidebar.
May
7
comment Where/how does optimizepress declare the sidebars?
This is a premium theme. If you bought it, you should have access to their support forum, where I'm sure you'll get more experienced persons to reply to this question.
May
7
comment Exclude a 'portfolio' custom category?
This question might help you. You should use 'operator' => 'NOT IN' in your taxonomy query.
May
6
comment Stop a plugins js and css from loading on all pages and show up only where it is called
You can wrap is_page('your-page-name') around your code.
May
4
comment Not sure how I would go about doing this in WP.. related to custom tags
Your and not in the posts where the categories and tags are already shown is just an issue that can be modified in your theme. Else, Create a custom taxonomy.
May
3
comment Custom SQL Query for Wordpress page
Use the wpdb class for custom queries in wordpress. You may also want to try the WP_Query class.
May
3
comment Fatal error: Call to undefined function wp_mail() in /home/
There's nothing you can do about that except tell your recipients to check their junk folder in case they haven't received the mail...
May
3
comment Pull Tags But Not as Links
Yes, lame copy/paste from the codex. Thanks for the wp_list_pluck!
May
3
comment How to wrap a div in anchor tag
Are you sure it's WordPress that's closing the tag and not your browser? Have a look at the source code instead of the developers bar. You should note that wrapping block level elements in an anchor tag can only be done in HTML5. Try it with a <span> instead.
May
2
comment Fatal error: Call to undefined function wp_mail() in /home/
You can use mail() instead, although I strongly recommend to implement your plugin using WordPress conventions. And your SQL is bad. You should not use mysql_query in your PHP applications, if you're using wordpress, read about the wpdb class. And always prepare your queries.
May
2
comment Fatal error: Call to undefined function wp_mail() in /home/
It's quite normal that you won't be able to use functions defined in WordPress if your files are not connected to WordPress. Simply putting the file in the plugins folder won't do the job. Have you read Writing a plugin?
Apr
29
comment Polylang: pll_e() & pll__() on functions.php, doesn't work
I used pll__ in functions.php without any problem. Are you sure you provided the required translation using pll_register_string or via the dashboard?
Apr
25
comment WordPress won't display errors at all
When you say Debugging is turned on, do you mean WP_DEBUG? If you have WP_DEBUG_DISPLAY set to false, errors will be hidden.