Darrell Schauss
Forum Replies Created
-
The database tables should have different prefixes
wp_prefix_in wp-config.php so they can be on the same database but the tables not touch each other. But its after the fact now. Someone else may have to chime in on how to handle the mess. You said you have a backup though? Could you start the process over with using another prefix?Forum: Fixing WordPress
In reply to: Two and more identical widgetsIf it is your own widget then you need to use WP_Widget class or suggest the plugin author to upgrade their plugin for multiple instances.
http://codex.ww.wp.xz.cn/Widgets_APIForum: Fixing WordPress
In reply to: New Menu SystemThis will do it on the last line
you currently have
#nav #menu-main-menu > li:menu-item-31{ background: none; border-left:none;}
change to
#nav #menu-main-menu > li#menu-item-31 > a{ background: none; border-left:none;}because the border is set on all
a{}in the menu you have to override the A within the menu-item-31. Also reference IDs by # not :Forum: Fixing WordPress
In reply to: Server down?The site is set for your 1and1 hosts name servers but there are no IP records. Talk with your host. There isnt any configuration being sent out by their name servers to point the domain to your site.
Forum: Fixing WordPress
In reply to: content of frontpage onlyYou can also assign a specific Page to be your home page
http://codex.ww.wp.xz.cn/Creating_a_Static_Front_PageForum: Fixing WordPress
In reply to: Automatically trigger bookmarkletThere are wordpress actions to make something happen duing a common wordpress event such as
edit_post,publish_post, orsave_postIn functions.php
function your_function_name(){ //do php stuff } add_action('publish_post','your_function_name');My line break and paragraph issues with WordPress usually come about when I am trying to deal with spacing inside of TinyMCE Advanced tables. I would argee that is probably it as simply viewing HTML and back will erase br and p tags. Turning on the option to no remove p and br in TinyMCE Advanced options might help. I haven’t tried it against the save changes prompt.
Forum: Fixing WordPress
In reply to: loosing text formatingThis is more likely a CSS style issue on the site verses what you see in WYSIWYG. Provide a link to your site or page with the bullets or other programs and either I or something that comes along may help.
Forum: Fixing WordPress
In reply to: How to enter multiple values for a key using a comma?If you were to repeat your custom field name.
get_post_custom_values('custom_field')“This function is useful if you wish to access a custom field that is not unique, i.e. has more than 1 value associated with it”
http://codex.ww.wp.xz.cn/Function_Reference/get_post_custom_valuesIf you want to use the custom field name just once with comma separated list. Then you have to explode the value on the comma into an array.
In the loop:
$value = implode(get_post_custom_values('custom_field')); $array = explode(',',$value);Or
$value = get_post_meta($post-ID, 'custom_field', true); $array = explode(',',$value);http://codex.ww.wp.xz.cn/Function_Reference/get_post_meta
I haven’t tested these. Though I am using the get_post_custom_values with implode in a theme right now.
Forum: Fixing WordPress
In reply to: visual/html editor not saving changes for double spacingshift+enter to start a new line directly next.
enter to start a new paragraph for one space between.Double spacing: extra and <p> get cleaned up.
Tiny MCE Advanced has a checkbox to stop removing extra p and br to keep your spacing. But sometimes for me (i think just in tables) it ends up continually adding more and more spacing on each save. I have to wait until my final revision to clean up the extra spaces and hit save.
http://ww.wp.xz.cn/extend/plugins/tinymce-advanced/
I feel you. WYSIWYG is a sure mess when it comes to spacing. Sometimes having to hit backspace on invisible breaks that does nothing visually but cleans up space. And sometimes having to go into HTML mode to bring something back to the previous line because hitting DEL or BACKSPACE never moves it.
Forum: Fixing WordPress
In reply to: loosing text formatingExtra spacing is cleaned up. Even in editing straight HTML extra spacing between words and letters is reduced to one space. You can use button from TinyMCE Advanced plugin. It also option to stop removing extra line spaces.
Similar question posted here.
http://ww.wp.xz.cn/support/topic/visualhtml-editor-not-saving-changes-for-double-spacingForum: Fixing WordPress
In reply to: Page links on the menuBy taking a guess without seeing the page. If its all plain text and you have the links in a div or ul of their own with an ID. You can use letter and/or word spacing to shrink it. Also adjust font-size and other styles.
http://w3schools.com/css/pr_text_word-spacing.asp
http://www.w3schools.com/css/pr_text_letter-spacing.asp
http://www.w3schools.com/css/css_font.aspIf they are in a UL list you can decrease margins and paddings on the LIs.
Forum: Fixing WordPress
In reply to: Error embedding google mapsThose instructions are for WordPress.com. Are you using a WordPress.com blog or have your own install of wordpress?
Wordpress.com forum http://en.forums.wordpress.com/I embed google maps into custom fields so the editor doesn’t mess with it. And create custom page template to pull the custom field.
I found this code from a plugin (waste of plugin in my opinion for such little code).
I haven’t tried it but you could put this in your functions.php (or install the plugin)
function customfields_shortcode($atts, $text) { global $post; return get_post_meta($post->ID, $text, true); } @add_shortcode('cf','customfields_shortcode');Then make a custom field called ‘googlemap’ to paste the code. Then use
[cf]googlemap[/cf]in the post.Forum: Fixing WordPress
In reply to: Post Sharing PHP Link Codes<li><a class="feedburner" href="http://feeds2.feedburner.com/linklobbycom">Feedburner</a></li><li><a class="email" href="mailto:?subject=Check out this post&body=<?php the_permalink();?>">Email</a></li>Normally you would have mailto:[email protected] but leaving that part blank will leave the To: blank in the email client.
Forum: Fixing WordPress
In reply to: Database Error when posting.Have you tried disabling plugins?
Are you using any plugins that customize user data or post data?
Wordpress has awp_usermetatable.wp_userdatais probably either a mistake in plugin code or a table that a plugin uses but that table has gone missing.