77 reputation
9
bio website vajrasar.in
location
age 25
visits member for 2 years, 3 months
seen Nov 3 at 14:45

A simple human, in love with Music and Web.


Oct
27
answered Separate Profiles for Users
Oct
27
comment Separate Profiles for Users
Yes @PieterGoosen was absolutley correct. After further digging I found out that author.php was the way to go.
Oct
27
comment Separate Profiles for Users
@PieterGoosen But author.php will be same for everyone like /profile is right now. I believe, I'd need something like author-{nicename}.php and the problem is that the {nicename} should dynamically generate so that the code we are using in /profile can be used to display set of information of user.
Oct
27
asked Separate Profiles for Users
Oct
23
awarded  Popular Question
Oct
15
accepted Different Front page for Mobile
Oct
15
comment Different Front page for Mobile
Sweet. This could surely be one way. I will wait for someone to chip-in with the method where I can switch front-pages, if not I will mark this as the right answer.
Oct
15
asked Different Front page for Mobile
Oct
14
comment Trying to Connect to different database
No, I tried this. This assumes that the $obj->ID resides in the current database (which in this case is main domain db) instead of going to subdomain's db and using get_permalink function there.
Oct
14
comment Trying to Connect to different database
Thanks @justin. I enabled WP-Debug and that pointed out the mistake. The problem was indeed with the connection settings. Thanks for the awesome explanation. I though, have updated the question (EDIT 2) can you please have a look?
Oct
14
comment Trying to Connect to different database
I've edited the question (Edit 2). Please have a look.
Oct
14
revised Trying to Connect to different database
added 871 characters in body
Oct
14
comment Trying to Connect to different database
Thank You guys. The problem was indeed with the databse connection setting. I was stupidly trying on the localhost instead of the live site. Pardon me for the silly mistake. Also @kaiser , I am using this approach because I do not know/see any other method to access database of sub-domain and fetch latest posts to show onto main domain's front page. I though successfully tried to fetch feed, but I want to access database because we want to reflect any change (or addition) in sub-domain's post immediately on to our main domain's front page.
Oct
13
comment Trying to Connect to different database
I again updated the question. Please have a look.
Oct
13
revised Trying to Connect to different database
added 123 characters in body
Oct
13
comment Trying to Connect to different database
I updated the question. Please have a look.
Oct
13
revised Trying to Connect to different database
added 203 characters in body
Oct
13
revised Trying to Connect to different database
added 54 characters in body
Oct
13
asked Trying to Connect to different database
Sep
24
awarded  Autobiographer