codingpet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Server 500 error[23-Aug-2012 01:10:21] PHP Parse error: syntax error, unexpected ‘<‘ in /home2/digitef7/public_html/wp-content/themes/magazine-basic/functions.php on line 251
This is the error in your error_log. except the plugin, you might also edit the theme file and added unexpected ‘<‘ by accident. Please check the line 251 in functions.php to remove the unexpected ‘<‘.
Forum: Fixing WordPress
In reply to: Using Shortcodes in Custom Fields?<?php if ( get_post_meta($post->ID, 'PRICE', true) ) echo do_shortcode(get_post_meta($post->ID, 'PRICE', $single = true)); ?>Similar codes will work but not fully tested.
Forum: Fixing WordPress
In reply to: Server 500 errorHi,
connect your site with FTP and navigate to wp-content/plugins/ folder. delete the folder(meteor-slides or similar) totally. Then go to http://digitalfrankenstein.org/wp-admin/ and try login. If no plugin files found, the plugin will be deactivate automatically.
Forum: Fixing WordPress
In reply to: How to Managing Tables trought WordPress ???No. The plugin is to create HTML tables not DB tables. I don’t know if there is a plugin can meet your needs. You may check this docs as you have specific needs.
Forum: Themes and Templates
In reply to: Raindrops defaulth sidebar$html = wp_list_pages('title_li=<h2 class="h2">'. __( 'Pages', 'Raindrops').'</h2>&echo=0' ); $html .= wp_list_pages('title_li=<h2 class="h2">'. __( 'Pages', 'Raindrops').'</h2>&echo=0' ); $html .= '<li><h2 class="h2">'. __( 'Archives', 'Raindrops' ). '</h2>'; $html .= '<ul>'. wp_get_archives('type=monthly&echo=0'). '</ul>'; $html .= '</li>'; $html .= wp_list_categories('show_count=1&title_li=<h2 class="h2">'. __( 'Categories', 'Raindrops'). '</h2>&echo=0' ); if ( is_front_page() || is_page() ) { $html .= wp_list_bookmarks( 'echo=0' ); $html .= '<li><h2 class="h2">Meta'. __( 'Meta', 'Raindrops' ). '</h2>'; $html .= '<ul>'. wp_register( '<li>', '</li>', false ).'<li>'; $html .= wp_loginout('', false ).'</li>'; // wp_meta(); $html .= '</ul></li>'; }Forum: Themes and Templates
In reply to: Raindrops defaulth sidebarOf course, please keep at least on widget in the default widget area and extra widget area. Or you will see all the pre-defined widgets.
If you don’t want to add any widgets and but remove the pre-defined, you can remove codes
$html = wp_list_pages('title_li=<h2 class="h2">'. __( 'Pages', 'Raindrops').'</h2>&echo=0' ); $html .= wp_list_pages('title_li=<h2 class="h2">'. __( 'Pages', 'Raindrops').'</h2>&echo=0' ); $html .= ' <li><h2 class="h2">'. __( 'Archives', 'Raindrops' ). '</h2>'; $html .= ' <ul>'. wp_get_archives('type=monthly&echo=0'). '</ul> '; $html .= '</li> '; $html .= wp_list_categories('show_count=1&title_li=<h2 class="h2">'. __( 'Categories', 'Raindrops'). '</h2>&echo=0' ); if ( is_front_page() || is_page() ) { $html .= wp_list_bookmarks( 'echo=0' ); $html .= ' <li><h2 class="h2">Meta'. __( 'Meta', 'Raindrops' ). '</h2>'; $html .= ' <ul>'. wp_register( ' <li>', '</li> ', false ).' <li>'; $html .= wp_loginout('', false ).'</li> '; // wp_meta(); $html .= '</ul> </li> '; }in functions.php
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
Forum: Themes and Templates
In reply to: Raindrops defaulth sidebarParse error: syntax error, unexpected ‘<‘ in /home/mrcr/texas-sign-works.com/wp-content/themes/raindrops/sidebar-default.php on line 9
Did you edit the sidebar-default.php directly? If yes, please don’t do it in this way. You need to edit widgets in dashboard->appearances->widgets
I just installed the theme you mentioned. There are two sidebars. The “default sidebar” is for left column. The “Extra Sidebar” is for right column. The theme also have 3 other widget area for other places e.g. footer.
Forum: Themes and Templates
In reply to: Custom Page template issueHi,
I don’t think you need to add styles to both the custom template and default template. These templates looks good without OldSkool-src/style.css added.
Some plugins need wp_head() and wp_footer() to work. So please make sure your custom template included these two hooks. This is the code you need to check to make the plugin work.
Forum: Themes and Templates
In reply to: THEME LIKE THIS SITE?I dont’ think it’s a wordpress site.
Forum: Themes and Templates
In reply to: Custom Page template issueYOur customized function is to add style to all pages. so you saw both default and custom css.
What’s the differences between your custom template and default template?
Forum: Fixing WordPress
In reply to: need to adjust sidebar widthYou can adjust the sidebar and main frame width by editing css. they will be .sidebar and .content. I’m not sure the wp-creativix theme but seems you have dashboard theme options to change the width?
Forum: Fixing WordPress
In reply to: How to import sql database to a new wordpress?You can consider importing the sql directly via tools e.g. phpmyadmin. After imported and tried to login, you maybe asked to upgrade the database as they are different version. Just do it.
Forum: Plugins
In reply to: Displaying login/registration error messages inlineWhat plugins you are using? Have you tried http://wordpress.org/extend/plugins/theme-my-login ? This plugin works fine for registration,login, get password etc.
Forum: Fixing WordPress
In reply to: How to Managing Tables trought WordPress ???Forum: Fixing WordPress
In reply to: how to align the Logo in the front pagebasiclly add float:left to css will solve the issue. It will be helpful to show URL, so we can check the real issue.