Can anyone enlighten me how to make a "Related Content View" but only by titles.
I know how to do it by taxonomy terms and such I don't want that. I only want it to be related by the terms in the titles of the articles. I'm trying this for days now.
For example, lets suppose I have an article with the title: "Stackoverflow Product Tutorial by Awesomeness People"
I want to make related content View with other articles, with a contextual filter by the words "Stackoverflow", "Product", "Tutorial", "by", "Awesomeness" and "People"...
I just want related content filtered with the words from titles, to show other articles with this same words. If possible excluding words with less than 5 characters.
I think this is impossible, or at least I can not do it.
Thank you in advance
I've had success using the similar module for doing just this. It uses MySQLs FULLTEXT search.
There is also a comparison of other modules that offer similar functionality on drupal.org.
I am biased, but here is another module for Related Content:
https://drupal.org/project/shareaholic
Related
I have a website, a real estate website and I need to have a search filter, so my client can easily identify what they want or what expected budget they can! I have see this website showing same way to implement click here.
can somebody guide me what should do to make this.
If you can suggest a tutorial I appreciate it.
To pull it off you need some good understanding of The Loop and how to create personalized queries with WP_query
In a nutshell, the page you provided has its real estate logic in a custom post type named "Listings" and some tags such as "bedroom" and "price".
I am not allowed to post more than 1 hyperlink, so please use google and search the words in bold style.
A page template performs a query with the desired filters, such as "3 Bedrooms" and "200000 $", and displays the results in several rows.
A custom post type and tags, since the listing will not automagically appear in your site's backend....
If you ask me, wordpress isn't suited for this kind of features.
I say this beacause you will often need custom plugins such as advanced custom fields, to accomplish trivial tasks like this one...
It will ultimately be a stressful situation for you.
I hope it helps.
This is probably an easy one, but I've been struggling to find the answer to this. I would like to create a standard format Wordpress page for real estate listings. Where I'm having trouble is with creating fields that can easily be edited from within the page for certain key features of each property listing. For instance, a typical page would have a title, slideshow of photos, a paragraph of text describing the property, but then a bulleted list with standard items such as: MLS#, Sq. Ft., Beds, Baths, Garage, Neighborhood, Acreage, Type, Price, etc. It would be ideal if these items were always displayed and you could just type in the associated information with each into a field box.
Does anyone have a suggestion or recommendation on a plugin for something like this? Thanks in advance!
I think what you need is an advanced custom field editor. There's an article from smashing magazine that teaches you how to create the layout. You can find it at Smashing Magazine, and also there's a plugin at Advanced Custom Fields which can help too.
My personal favorite Custom Fields plugin is Types.
I am already very confused as I am typing this thread out. Please forgive me if my query is a little too difficult to understand.
I have an existing Real Estate Site that I intend to move 100% into WordPress. The existing site has one backend for listings and another blog section for reviews.
You can probably see why I have decided to make the move to a full WordPress powered site. Maintaining both ends of the site is both tedious & cumbersome.
I have read and understood Custom Post Types & Custom Taxonomies and how they work. I am rather excited about implementing them. However there is some content I am finding difficult to organise.
* An existing database table of about 4,000 Condominium Projects
Each entry in the Condominiums table has some "bio-data" like Year Completed, No. of Units, Facilities, Amenities etc.
Currently each listing in my site has an ajax query that fetches information from this table on demand.
In the new site, I intend to have a link to the respective condominium in each property listing.
This link should display information about the specific condo and display 'results' of matching listings.
Also, some condos have long article reviews done for them. In my current site, these reviews are displayed in the blog section. Separated altogether.
So here's my question.
How would I connect everything together. A duplicate perhaps? Taxonomy & Post for each condo? That will mean over 3,000 unique entries. Wouldn't that be an "overkill"?
If it is a taxonomy, the link will probably display all posts (listings) that have that condo name. But it wouldn't link to an actual page of either it's review or bio-data.
Any thoughts will be very much appreciated... Please feel free to ask if I have missed out any vital information!
Thanks in advance
The seems very straightforward to me and a perfect fit for WordPress (and I shudder to think of doing anything in Drupal you don't have too; and this from someone who developed in Drupal for 2+ years...)
Anyway:
Each condo gets stored in a custom post type.
All the "bio-data" gets stored in a custom field. Alternately you could create a taxonomy called "bio-data" and have a term value for each of the options but this won't work well for things like "SqFt" unless you do ranges (i.e. 1200sft-1300sqft) because terms can only be used for "true/false" attributes (i.e. either it applies or it doesn't) and not for specifics like exact offer prices, etc.
The long articles can just be stored in the "content" section of the condo post type (unless you have multiple per condo then you can either store in comments as #Jan Fabry suggested or you can create a custom post type "review")
Like I said this is really straightforward. Of course I've lived and breathed database apps for 20+ years so it comes second nature to me. Any questions, just ask...
This was how I managed to solve my own question!, Ironically enough, MikeSchinkel had an almost identical answer, so I accepted his answer instead.. So here's what I have:
A Custom Post Type for Condominiums labelled 'Reviews' in the admin section. The property 'Bio-data' is in custom fields. This Custom Post Type has a rewrite rule:
array( 'slug' => 'condominium' );
That way, I managed to have each Permalink to show something like:
http://domain.com/condominium/post-title
I have added a page called Condominiums and had it set to use a custom template - which basically shows the latest posts of condominiums with reviews. I also intend to extend the template for it to show a Search Condominiums function.
Added relevant taxonomies that can be searchable - like Brands & Developers.
I have already converted previous reviews to this. The last thing I will have to do will be to post all the Condominiums from the condominiums database to the wp_posts table using this Custom Post Type.
This is the part I am crossing my fingers for as I will have to see if the rewrite rules are going to significantly slow down my site as this will be 4,000 entries. This issue has been recently brought to my attention here
http://core.trac.wordpress.org/ticket/12935
I will update this thread once I have completed the importing - since this is the only place I have posted a question and have it answered - if anyone might be interested!
Thank you for your suggestions. I hope this helps someone else who is in a similar predicament.
Would it work if you view the Condominiums as posts, and the reviews as comments to these posts? This would keep them together, and is conceptually not even too far from the original intention. You can put the extra information in custom fields and tags (which gives you free searching capabilities). Then you should see for yourself if you still need to create a custom post type, or just do it with regular posts (why not?).
But yes, you are stretching the original WordPress concept a little. Drupal or some other CMS might be a better option, and have more plugins that are suited to your situation.
I'm creating a dig like site with wordpress, TDO Mini forms and Vote it up where people who live in the city can log on, post their ideas of how to improve the city and have others vote.
on the home page there are 2 columns. right is the TDO submit form. left are the "Most Wanted" items. the posts with the highest rating. I've found an impressive lack of information on this plugin. im not great with php but i can make do most of the time.
I want to output the post title, post author, links for yes and no votes as well as have the titles in the left column list in most popular order. preferably id like the home pages to have only the top 5 or so highest rated posts.
I cant find any way to output that information as i need. I was really hoping there was a simple way to call the highest rated post titles in the loop for the main page but there doesnt seem to be a way. Bout the only thing i've found is the DisplayVotes tag which isnt incredibly helpful.
does anybody know how i can accomplish this, or can provide some expert advise? help would be immensely appreciated.
I was ready to download your plugin. Too bad it is not done.
Is there a way to create an exlicit relationship between two posts in WordPress regarless of what categories those posts might be in?
The idea is that within the post template it would be obtain and list the related posts for the current post.
I'm guessing you could achieve this using tags to group posts together, but that seems to be a hi-jacking of the tag system for a purpose for which is wasn't designed.
Any ideas?
Would adding post IDs as meta data help? I had written a quick hack to display the Digg box for posts that were submitted to Digg. I was manually adding a digg_url meta field with the Digg URL. Perhaps you could add multiple related__post fields and add some code to iterate through all and render post links? Are you looking for a more automated solution?
Maybe I didn't catch the point, but Categories are not just there for that purpose?
I may have miss understood the question. But tags, archives and categories are there to "connect" posts, on the basis of that common connection.
Other than that, I can only see ...
Manually linking posts from with the text of a blog post or
Using plugins. Two I user are similar posts (http://rmarsh.com/plugins/similar-posts/) and SEO Smart Links (http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links)
Similar posts if highly configurable and allows the blog to automatically suggest "related posts" and SEO Smart Links, links (in post) words or phrases to related posts.
All the best
stephen