modify wordpress search to display author pages - wordpress

I have been looking around the web but could not find a solution to this problem. Right now the search function in Wordpress - as I understand it - goes through the posts and looks for matching words. That is fine, however I am working on a site right now where I wont have many posts / any posts. I will however have a lot of users - let's call them authors even though they won't be writing anything. I want the normal search to go through the author pages and display results based on what is written there.
Is this possible? I do understand a bit of code but mostly copy of tutorials.
Thank you so much in advance!

since you didn't provide any code attempts i will stick with a plugin solution..
try this
https://wordpress.org/plugins/amr-users/screenshots/

Related

How do i make Wordpress Auto Republish old post to make them look new on search results

Please I need to delete and repost my old posts on WordPress so that they can be reindexed by search engines like new content. I don't want to manually do it. Please can someone help with an idea of how to?
To do this you update your posts' post_date values. There are plugins for the purpose.
But be careful. Search engines like Google are really good at detecting attempts to play games with them to boost search rankings. People have been playing those games since Yahoo ruled the search-engine world. If they detect such things on a site they down-rank it or even stop showing it altogether. Simply updating dates without changing content may trigger a game-playing filter. You don't want that.
Ask yourself the question, "how do I make my site more useful to people who search for it?" New and updated content is a good way to do that.

Wordpress: Term links skip archive page and go straight to latest post

I am experience a strange occurrence on one of my client websites. As of last night the custom post type terms(categories) links seam to skip their natural behavior of going to their respective archive page(archive template) and instead go straight to their most recent post(single template). Does anybody know what could change the normal hierarchy behavior in such a way ? is more information is required please ask i and i will provide to the best of my ability. Thank you for taking time to look at this.
Sample of wrong behaviour: http://www.bekjempsvartarbeid.no/betong/
Clicking the "Rogaland" link should bring you to a archive listing page, but instead shows you the most recent post of that category. Notice the URL.
Well as it turns out the issue was related to some new conditional statements in the functions file. If anybody is curious i will explain in more detail.

Retrieving relevant posts from Wordpress blogs

I have a requirement to write a program in Java to retrieve all the posts from all the wordpress sites containing a keyword(s).
This is how I approached the problem. I initially thought I would crawl the wordpress sites looking for the keywords I am interested in. But I realized if there is an endpoint for wordpress search, it makes my job a lot easier. So I have looked around to see if there is any search endpoint to submit queries and get the links for the posts.
All I found is just http://wwww.en.search.wordpress.com. I can still tweak the url and get some links. But
I like to know if there is any better way to handle this problem
The search link I posted is for the users and it might be limiting my search results since I query it through a program
Also I like to retrieve posts from the given date range. I am not sure if this is possible with my approach.
Appreciate any help in this regard. Thank you.
How about this approach:
Assuming you don't need to go back to the history and scrap all the data I would just stick to tags
http://en.wordpress.com/tags/
I would crawl it every day get the most popular tags (by font size) then on each tag get the articles published in the past 24 hours
On each post get all the comments and search for your keywords
Would that work? if not please share more details
Good luck

Drupal - Newbie - Need some help in finding content

It seems a very simple job but really been tough to perform.
All i need is to edit a content but i cannot find it inside the cms which says "Commerce Kickstart"
The page address of the content is like this:
https://website.com/abc/def-ghi
When i select Content>Manage Content from the top header bar (after logging in as admin the top bar appears) then it shows lots of pages to edit but i couldn't find that particular text inside any of them.
So i decided to download the mysql db and search for the text using notepad++ but i found several instances and i guess its all from some cache table.
I put so many hours on finding this easiest task but failed.
Any advices?
Thanks!
Do the pages have content within them?
When you are on the Content Overview page just click on edit and see if there is anything in them.
From what I can infer you are using Commerce Kickstart and this probably implies that you might need to edit the product instead. Just answering from the top of my head.

Drupal 6: No forum index page (Advanced Forum)

I've got a strange senario/question for you.
I'm running drupal 6 with advanced forum (although my problem doesn't go away if I just use the forum module that comes with drupal)! Everything has been fine and so I've left it untouched (not open to the public) for about a month while I've been sorting out legal work...
I came back to it a few days ago only to find 'http://mysite.com/forum' (I'm using clean URL's) does not exist!
I've tried everything I can think of! Even silly things like 'http://mysite.com/forum s'. But it doesn't even appear to be there in Content Management > Content!
I can get to the individual posts and even the individual catergory/containers - I'm just missing the index page!
I've tried disabling and re enabling the advanced forum module, reseting it's settings and even clearing the site cache! Non of which made any difference! I was going to try typing the node in, but I wasn't sure what it was!...
Please help me as soon as possible!
Thanks in advance,
Andy
Latest
Okay, just to clarify exactly what's happening and what I've done so far after 'ax's' wonderful assitants:
Whats Happening is, I get Drupal's 404 Page Not Found message/page when trying to get to www.mysite.com/forum! The strange thing is though, by typing the URL of the individual sections/catergorys I can see them, and all the posts inside etc!
I have, been into sites/all/modules/advanced_forum/advanced_forum.module and look at the variables in the advanced_forum_page($tid=0) function.
First, I just created a post/topic in the forum var_dumping all the variables in the function! They all returned NULL.
But then in the function, I one by one var_dumped all the variables, after the line they were first used (in the function), I deleted the var_dump line for each variable after I refreshed the forum page, so there was only one var_dump in the function at once. The strange thing was nothing appeared on the page, even when I tried `drupal_set_message(print_r($variable));!
So, I don't know and I just need it fixing asap please! ... Thanks in Advance
you can try two solution:
Reinstall the module instead of deactivating and reactivating it (you will lose your current categorization, however it seems like your forum is empty right now).
Build a new installation to make some tests, enable the advanced forum module and take a look at the index page of the forum to see if it's replicable.
Take a look at the issue queue of the module too, maybe someone else had the same problem.
Just figured out what was going on, and therefore was able to sort my problem out myself!
It was the most stupid thing as well. For some reason, I had an empty folder called... you guessed, 'forum' in the root of my website and as soon as I deleted it, I saw my forum index for the first time in ages.
Obviously, Drupal was looking in the folder instead of using the module etc... (You Know...)
Anyway, thanks for your attempts to help me - much appreciated!
-- Andy

Resources