olddocks
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Corpocrat] Multiple sliderit seems there is a problem with plugin itself which is why it is not working.
Forum: Hacks
In reply to: Strange issue with theme options page?Thanks chris, fixed the issue. It seems that accessing old page not in the menu-slug causing this issue. it works
Forum: Hacks
In reply to: Strange issue with theme options page?oh thanks! i am sorry yes it was a typo. i changed it to softlights-theme-options without spaces, still the problem persists.
In the wordpress codex https://codex.www.ads-software.com/Function_Reference/add_theme_page
it says
NOTE: If you’re running into the ?You do not have sufficient permissions to access this page.? message in a
wp_die()
screen, then you’ve hooked too early. The hook you should use isadmin_menu
.I dont want to hook into ‘admin_menu’ as the wordpress theme reviewers insist that themes must use edit_theme_options hook to get approved.
what does this mean?
Forum: Hacks
In reply to: Strange issue with theme options page?chris- the3rd parameter is the slug, not the second one, which is title.
Forum: Hacks
In reply to: Issues with select box in options page?@bcworkz, Thank you very much for the followup,i am using the good old way of doing selected..
<option value="blue" <?php if($corpocrat_options['theme-style']=="blue") { echo 'selected="selected"';} ?>>Blue</option>
I am happy with the code but the wordpress theme specifications indicate that themes are required to use the selected() function, which is why i am concerned.
Forum: Themes and Templates
In reply to: Fixing – Enter password to view commentsUpdate: I checked this using firebug and it shows like this.
<div class="totalcomments"> Enter your password to view comments. <span class="commentname">COMMENTS</span> </div>
Forum: Themes and Templates
In reply to: Blank page after i activate a new theme!it could be a problem with htaccess. check it and try to create new permalinks.
Forum: Developing with WordPress
In reply to: One WP…several servers?Question one: Does anyone know how we can set the WP blog up on JUST the staging server, and once blog entries are approved, push the entries to the live?
Question two: Would these entries only push to one place? Could we have them push to all 3 live servers?
All you need is 4 IPs and 1 ip for database server and rest other 3 ips for running a web server where you host your wordpress blog.
All webservers running will remotely connect to mysql database server in that way all blogs will be sync.
Finally, you will need to change DNS zone file and assign round robin DNS to your webservers like ww1, ww2, ww3 and db pointing to those IPs. This is how i would imagine to work.
Do also consider WordPress MU: https://mu.www.ads-software.com
Forum: Themes and Templates
In reply to: trouble uploading themesthere could be a double subfolder in your theme. fix it.
Forum: Themes and Templates
In reply to: Error message in themesFatal error: Call to undefined function: language_attributes() in /home/httpd/vhosts/todaystransactions.com/httpdocs/wp-content/themes/searchfriendly/header.php on line 2
just open the file and uncomment the function causing this problem.
Forum: Themes and Templates
In reply to: Which is the best theme as per SEOit has nothing to do with SEO. just write good titles of blog posts and make friendly URLs. Thats it!
You might want to consider a good theme as well.
Forum: Themes and Templates
In reply to: Thumbnailswhich theme are you using?
Forum: Themes and Templates
In reply to: thumbnail/galeryas of wordpress 2.6.2 thumbs are automatically created. If you want you can specify the thumbnail size on main > miscellaneos > width and height in wordpress admin.
.
Forum: Fixing WordPress
In reply to: Pictures not uploadingJust set the uploads folder 777 permissions to make it writable by wordpress. Only then you will be able to upload
Forum: Themes and Templates
In reply to: Image thumbnailssince wordpress 2.6.2 thumbnails are handled automatically without need of plugins. you just need to go to settings and set the thumb size.