shadd
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: add_menu_page: multiple usergroups ?bump
Forum: Fixing WordPress
In reply to: All my posts are goneLooks like your DB got wiped clean somehow. Ask your host if they have a backup of your DB. They usually make daily backups.
Forum: Fixing WordPress
In reply to: Custom dashboardWhich will display custom DB data.
Forum: Fixing WordPress
In reply to: Custom dashboardbump
Forum: Fixing WordPress
In reply to: Remove Upload/Insert from WP editorSorry. What I meant was that when I invoke the_editor() tag it’ll load all the relevant html/js for the editor. However, I would like to change the default textarea name property to a custom value.
<textarea name=”content”></textarea>
Forum: Fixing WordPress
In reply to: Remove Upload/Insert from WP editorExcellent. Worked a charm. BTW, do you know how I can set a custom name for the editor ? The current name is set to ‘content’ (checked via firebug).
Forum: Fixing WordPress
In reply to: Remove Upload/Insert from WP editorWell, I dont need them which is why I want to rid of them.
t31os, I tried that code, nothing happened.. Here is my code:
function the_editor_enqueu() { // add libraries for editor wp_enqueue_script('post'); wp_enqueue_script('media-upload'); wp_enqueue_script('word-count'); wp_enqueue_script('schedule'); wp_enqueue_script('editor'); add_thickbox(); wp_admin_css('thickbox'); } function enqueue_editor_head() { if (function_exists('wp_tiny_mce')) wp_tiny_mce(); } // add actions add_action('admin_head',array(&$this, 'enqueue_editor_head')); add_action('admin_menu',array(&$this, 'the_editor_enqueu')); remove_action('media_buttons');
Forum: Themes and Templates
In reply to: Including/Invoking php classes inside templatesThanks. I want to use that class in my plugin and my template. In such a case, what is the best place to put the file ? In the root wp dir ? In the plugins or template dir ? Or just have two copies (once in plugin folder and one in template folder) ?
Forum: Themes and Templates
In reply to: Getting pages by nameCourses page displays all courses. courses/1 will display the first course as noted on the link you provided. I dont know how to do that though. The closest I came to it was to create another page called course and then sub it under Courses and use that to process single course requests. The url turns out to be:
mysite.com/courses/course/1Do you know of any way I can get rid of the ‘course’ and just keep it as courses/1 ?
Forum: Themes and Templates
In reply to: Getting pages by nameIts a page ??
Forum: Themes and Templates
In reply to: Getting pages by nameThanks, that worked a charm. I have another dilemma now: mysite.com/courses/ will load the courses page – If the user specifies mysite.com/courses/1 (1 being the post id) it should load a page displaying just that post. How can I do this ?
Forum: Themes and Templates
In reply to: menu item selectionexcellent, thanks.
Forum: Themes and Templates
In reply to: Change background color on peaceful rush themeI suspect it code be the background-color in the follow chunck of code in the CSS:
body{
font-family: Arial, Helvetica, Georgia, Sans-Serif;
font-size: 12px;
text-align: center;
vertical-align: top;
background: #fff url(images/bg_body.gif) repeat-x;
color: #000;
}Try changing it to and see how that goes:
body{
font-family: Arial, Helvetica, Georgia, Sans-Serif;
font-size: 12px;
text-align: center;
vertical-align: top;
color: #000;
}Link to your site CSS: https://www.bodymindhealthandwellness.com/wp-content/themes/peaceful-rush/style.css
Forum: Themes and Templates
In reply to: How to increase margin for sidebar widgetYou will need to change it in the stylesheet. Look for the #aus tag in your CSS and play around with the margin and padding parameters.
Forum: Themes and Templates
In reply to: Underline Post titleopen up the single.php file in your theme folder. Look for the following line:
<?php the_title(); ?>
Change to:
<span style=”text-decoration: underline”><?php the_title(); ?></span>