simplistik
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Your Backup Folder Might be visible to the publicDisable dbmanager and re-enable it, it’ll re-install w/ a new path and that should fix it, also make sure you move that htaccess.txt file into the root of your backup-db folder.
Forum: Fixing WordPress
In reply to: Setting up mutiple username accessJust tell everyone to use the same Nickname in their profile.
Forum: Fixing WordPress
In reply to: Get page contentHe’s just giving $id a default value it’s meant to be replaced and can help eliminate any PHP Notices that you may get if your server is set up incorrectly. However, considering there would never be a post w/ the value of 0, may as well leave it blank, so that the function will error out if you don’t feed it a proper number, thus requiring you to input an id.
function getPageContent($id)but either way works fine
Forum: Fixing WordPress
In reply to: Looking for something like wufoo.com for formsForum: Fixing WordPress
In reply to: Looking for something like wufoo.com for formsgravityforms
Forum: Fixing WordPress
In reply to: Show WP menu in headerThe Codex shows:
<?php wp_nav_menu( array('menu' => 'Project Nav' )); ?>
which means you should have
<?php wp_nav_menu( array('menu' => '1. řádek hlavního menu' )); ?>Forum: Fixing WordPress
In reply to: Show WP menu in headerForum: Fixing WordPress
In reply to: bulk loadI’ve had to do this in the past, you’ll want to look at:
http://codex.wordpress.org/Function_Reference/wp_insert_post
and
http://codex.wordpress.org/Function_Reference/wp_insert_attachment
You’ll read your directory and loop through the text files, using wp_insert_post() to create the post, and it’s associated categories. wp_insert_post returns the ID of the post that it just created so after the post is insert you’ll do the wp_insert_attachment() using the ID from the insert post as the $parent_post_id variable.
Forum: Fixing WordPress
In reply to: Excluding Featured Images From The HomepageFrom the looks of it, the Modern Clix theme isn’t actually using the post-thumbnail feature. Seems as if you are embedding that featured image in your body. So here are a couple ways to approach it:
1. Use post-thumbnails instead of embedding it in your body:
http://codex.wordpress.org/Post_Thumbnails#Function_Referenceor
2. In the index.php where it says:
<?php the_content('Continue reading...'); ?>you can change that to something like (untested code):
if ( is_front_page() ): echo strip_tags(get_the_content('Continue reading...'), '<p><em><b><a>'); else: the_content('Continue reading...'); endif;Forum: Fixing WordPress
In reply to: Changed Primary Domain – Blog messed updownload your database .sql file and find and replace all instances of your old domain, then upload the new .sql file.
Also, older versions, upraded versions and multi-site installs of WordPress put the url of the site in the config.php which needs to be changed if you changed domains. I’d start there if needed.
Forum: Fixing WordPress
In reply to: How to publish using differnet user nameThere should be an Author drop down at the bottom of each post.
Forum: Fixing WordPress
In reply to: Photo in scrolling feature sectionthe name needs to be thumbnail
Forum: Fixing WordPress
In reply to: Full Article Displaying, Not the_excerpt showing on Main Pagetry clearing out everything and only doing
<?php the_content('<br /><br /><span class="readmore-icon">Read the rest of '. get_the_title($post->ID). '</span>', FALSE);?>see if that give you the excerpt like you want. and notice that get_the_title() only accepts one param, the ID, or nothing and it assumes that the id passing is the id of your current post/page.
Also, I think that if you’re trying to get the excerpt using this method you have to use the “Insert more tag” option in the WYSIWYG which is the icon that looks like two pages separated by a dotted line. I could be wrong, I don’t generally snag the excerpts that way.
Forum: Fixing WordPress
In reply to: Getting rid of facebook link?you have to go into the theme folder should be something like wp-content/themes/jenny/index.php
Forum: Fixing WordPress
In reply to: Getting rid of facebook link?then remove the first li
<li><?php comments_popup_link( __('Leave your comment', 'jenny'), __( '1 comment', 'jenny'), __('% comments', 'jenny')); ?> • <?php the_category(' • ');?></li>