lgkevincc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wordpress display lastest post on homepageAll post contents will display now? I saw you wrote the_excerpt() which only display the first 55 wordpress.
You can replace it with the_content() and add <!–more–> in each posts(after the first sentence as you would like to display only the first sentence.)
Forum: Fixing WordPress
In reply to: [Plugin: Theme My Login] Insertion Error: Duplicate entryRemove the “theme_my_login” in the wp_options database table may solve your issue.
Forum: Fixing WordPress
In reply to: Remove comment from static page after latest upgradeCheck in the upper right corner, screen options. Also, you can see the option in the “quick edit” for each pages.
Forum: Fixing WordPress
In reply to: Some newbie kinds of questionsno wordpress built-in functions for that. You need to create more page templates and write the loop code there.
Forum: Fixing WordPress
In reply to: Fatal error on my siteget_translations_for_domain() this is a function defined in the wp-includes/l10n.php on line 476. Please check if the function defined there. If not, I’m afraid there are files missing when activated.
Forum: Fixing WordPress
In reply to: All my posts have disappearedCan you see the posts in wp-admin->posts section? Or just can’t see the posts frontend?
Forum: Fixing WordPress
In reply to: How to add wordpress blog to wordpress websiteI think you didn’t have a custom menu created before you add the “blog” link. Then wordpress displayed your other pages(if no custom menu created, then display pages). So after you created this custom menu, other pages in the navigation were removed. Just add other pages to the custom menu you created and the navigation will be fine.
Forum: Fixing WordPress
In reply to: Some newbie kinds of questions1. You can set a page as your post page via wp-admin->settings->reading section.
2. If you set the post page in a correct way, then all posts will be there and you will be able to manage posts via wp-admin->posts section.
3. As I said, after you setup the post page in step correctly, you will see these posts can display on that page.
Forum: Fixing WordPress
In reply to: Javascript only works without wp_headthere are conflicts when you called wp_head(). So if you removed wp_head, some codes didn’t run and the conflicts solved. But it’s not a real solution. Try wp_enqueue_script as charlesolaes said.
Forum: Fixing WordPress
In reply to: How to delete/remove META and ARCHIVE on sidebarJust saw you mean remove/delete Meta and Archive on sidebar… Methods:
1. If you add a widget to the primary widget area via themes->widgets, the meta and archives widget will be removed automatically.
2. If you don’t want to add any widgets, you can edit the file sidebar.php and remove the `<li id=”archives” class=”widget-container”>
<h3 class=”widget-title”><?php _e( ‘Archives’, ‘twentyten’ ); ?></h3>
<ul>
<?php wp_get_archives( ‘type=monthly’ ); ?>
</ul>
</li><li id=”meta” class=”widget-container”>
<h3 class=”widget-title”><?php _e( ‘Meta’, ‘twentyten’ ); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</li>`Hope helps.
Forum: Fixing WordPress
In reply to: Where is wordpress metadata stored?wp_postmeta and wp_commentmeta are wordpress database tables. You can edit via phpmyadmin or other mysql tools. You can get to phpmyadmin from your cpanel.
Forum: Fixing WordPress
In reply to: Write function to change sidebar calendarThe content between <h1> and </h2> can be changed in the themes->widgets section when you drag the widgets. Not sure why you need to write a function to change it. Maybe I didn’t get your meaning..
Forum: Fixing WordPress
In reply to: Adding JS to bottom of the site?the easiest way is to edit and footer.php and add the js code there.
This article maybe helpful. https://lesterchan.net/wordpress/2009/01/26/loading-javascript-in-footer-in-wordpress-28/
Forum: Fixing WordPress
In reply to: How to delete/remove META and ARCHIVE on sidebaryou should edit the theme file for your page(page.php, single.php or page-loop.php, archive.php decided by your theme structure.) I don’t see your theme code, so can’t tell what code you should remove. For meta, it should be the_meta() or similar functions.
Forum: Fixing WordPress
In reply to: Author parameter of WP Query not displaying resultsstrange problem. When no author id found, the same issue will happen. Are you sure the author id is 1? maybe you can try ‘author_name’ => ‘admin’ to see if it works.