Strange problems when I try to insert HTML\XML code snippet in my posts
Strange problems when I try to insert HTML\XML code snippet in my posts
Strange problems when I try to insert HTML\XML code snippet in my posts
Comments have an associated author to them. In a section called “Private Comments” – Query for all comments belonging to the current post where wp_comments->comment_author_email equals the email of the current user. Checkout the wp_comments table. It has 15 or so fields you can filter when displaying comments. EDIT: The code would look something like … Read more
Your question is quite interesting because (as I understand it )it addresses a very important aspect of coding – Planning . And planning a good structure requires a well established knowladge about the platform you are using. The question ( again – for my understanding ) can not be answered by code but more like … Read more
Hi @cannyboy: There’s a plugin called Search Unleashed that gives lots of different functionality. One of my clients was using it and I was impressed with the control it gave. Not 100% sure it will give you what you need but it’s worth checking out. If your blog only has post_types of “post” and you … Read more
First you have to give your dropdown names so: <?php $media = array( ‘name’ => ‘subcat’, ‘hierarchical’ => 1, ‘parent’ => get_cat_id(‘Media’), ‘show_option_none’ => (‘All Media’), ‘hide_empty’ => 0 ); ?> <form method=”get” id=”searchform” action=”<?php bloginfo(‘url’); ?>/”> <div> <input type=”text” value=”<?php the_search_query(); ?>” name=”s” id=”s” /> <?php wp_dropdown_categories(‘name=maincat&show_option_none=All Category’); ?> <?php wp_dropdown_categories($media); ?> <input type=”hidden” … Read more
I don’t think it’s overkill. IMHO even a small site can benefit from running WordPress. World wide web is a very dynamic environment and your site should stick to this flow. You can keep your site up to date when it comes to terms of usability, security and other standarts just by keeping your WordPress … Read more
You should use a sitemap module to generate a list of URLs created by XOOPs [e.g. xSitemap]. Then you have to set up your .htaccess to 301 redirect each URL to its corresponding page in the new WordPress instance. Finally, you should consider installing a WordPress plugin like Redirection to check for 404s and redirect … Read more
You’re going to have to go with some plugins. The WordPress page editor is dog slow. Throw more resources at it and/or disable some functions from showing under the “Screen Options” tab. It should not really be slow unless your have a ton of people working on a ton of pages at same time, if … Read more
If it is a strict structure, you might be better off creating a custom post type. You would then store the name in the title field, the image as the featured image, and the “About” would be the main content. If you need extra information, you can use custom fields (with a plugin to style … Read more
I also have had problems with the maintenance plugins. What you can do instead (if you are familiar with HTML) is create a simple “Closed for Maintenance” page. Save the page as xindex.html. Upload the xindex.page to the same directory as your WordPress installation. You WordPress installation comes with two files index.html and index.php. While … Read more