Your title isn’t correctly encoded for use in a query variable. Try this:
echo ' <a href="http://www.testungsss.com/search?q=' . urlencode($titletest) . '">' . $titletest . '</a>';
Related Posts:
- How to get all post titles starting with numbers and symbols?
- query_post by title?
- How to return results of a get_posts() in explicitly defined order
- Is it better practice to use query_posts, WP_Query, or get_posts to create various custom loops within a Page?
- query_posts doesn’t order by title
- how could I get the pagination as I want to when query posts using get_posts function
- Post count per (day/month/year) since blog began
- How to get 4 Posts after the 5 most recent ones
- making random query button using $_GET
- how to exclude “featured” posts from the main loop?
- Show Only Posts Owned By Logged In User + my post
- WordPress pagination with get_posts?
- My post repeats itself on the second page [closed]
- WordPress query reverse order
- Multiple posts/pages in one page?
- Posts being viewed
- Querying a query
- How to merge the content of posts that have the same title?
- allow user to edit posts made by others users based on the user role
- Post per page not working
- query_posts works while get_posts doesn’t
- How to get post content by calling ajax?
- How to query_posts using meta_query to orderby meta_key AND have a secondary sort by date?
- Changing title of a page dynamically from within a plugin
- Help to condense/optimize some working code
- the_title() and the_permalink() won’t work on AJAX calls
- Modify main WordPress loop with a parse_query filter
- How to make “sticky” pages (and query by them)
- Problem with ‘post__not_in’
- Get posts by meta data OR title
- Sort posts alphabetically by custom field value, insert divider between different letters
- Retrieving 3 latest post from each of 5 different custom post types
- Use union/intersection query_posts variables in uri request parameter form?
- Custom query with query_posts doesn’t show post without certain meta_key
- How to sort by meta value?
- pagination in author.php template returns 404 error
- query recent posts from several categories
- Example Query Posts Showing the Latest Post with the Featured Image
- Dynamically excluding current page id
- How do i paginate query_posts with numeric pagination?
- How to order results by date and meta key?
- posts_per_page => 1 shows 2 posts
- Show individual author rank from query of cumulative post view count for all authors
- Custom posts per page does not work with pagination
- posts_per_page override by default settings
- How to paginate posts correctly that belong to a particular category and are random ordered
- Tricky WP Query
- tax_query operator woes
- How to filter query to display posts from parent category only?
- Display random post on a page with post permalink in URL
- Logged in user ID as post ID
- Why is querying posts messing up my pages?
- Using ajax with paging and a custom sub-query
- query_posts() on key’s value, or key’s existence
- ACF Query meta_values don’t work with ‘offset’
- How to display certain category in the loop from WordPress default post type?
- define orderby URL with meta_key=post_views_count
- Query_posts and attachments
- Custom loops, sticky posts, and pagination nightmare
- How to output the title of the blogs home page
- Querying posts only if the current page is not paged?
- Reset WordPress Post Query to default
- how to store wordpress loop in array?
- meta_query check for meta value in key which holds an array of values
- Get title of post image is attached to
- Display Posts with template on a Page
- Exclude posts by post meta value
- Single-page wordpress theme navigation
- meta tag placement for google verification
- Can’t get pagination to work for sticky posts only
- show x number of posts from y category on homepage
- How to Show Comment Count on Related Posts?
- Frontend form with multiple posts
- Print title page in header of a specific page
- Way to cache a query for 24 hrs
- Make query_post category name dynamic
- How can I list posts with different formats depending on order?
- query_posts orderby postmeta [closed]
- View Achive with Category Filter, but Page per post not working
- Meta query stopped working
- Sticky posts don’t show up first in custom loop
- Want Page Descendants when using query_posts post_parent or child_of
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- How do I query based on the modified date?
- Modify default Related Posts Code to Custom Post Type
- Update all WordPress posts’s title and content then display them in a table
- How to put orderby on a custom field in query_posts
- Filter posts by current date ( WP Post Carousel )
- Create a hierarchical loop at predefined markup requirements
- When should you use WP_Query vs query_posts() vs get_posts()?
- query_posts not working after wordpress 3.7 update
- Post Filter clearing on pagination $_post
- Is that the query_posts() the real criminal here?
- Query specific posts from parent by slug rather ID
- query_posts and sub pages?
- How to refine WP-Query with further criteria
- Multiple loops with / without sticky posts and different post limits
- prevent display duplicate titles on main page
- Lots of SQL queries
- Limiting the amount of posts this displays