729 reputation
414
bio website
location Lahore, Pakistan
age
visits member for 2 years, 1 month
seen Jul 18 at 5:47

ob_start()

if(PHP_PROGRAMMER && WP_DEVELOPER && MYSQL_QUERIER && DATBASE_ANALYSER) this.profile = me;

ob_clean_flush();


Jun
13
awarded  Yearling
Jan
22
awarded  Caucus
Jan
22
awarded  Constituent
Dec
23
comment Post and Page Inheritance to subsites in a WordPress Network
It is very basic code to fetch posts across the network but it does not explain how we can use it to implement the given scenario.
Dec
23
comment Post and Page Inheritance to subsites in a WordPress Network
Can you explain it? I dont get it at all. Should every post of every subsite have these post metas? on what condition you are proposing to perform a switch?
Dec
23
comment Post and Page Inheritance to subsites in a WordPress Network
Okay this is about to tackle a front end user. I am more concerned to how to implement the backend structure with/without Multisite.
Dec
23
awarded  Promoter
Dec
20
answered Filtering posts by category name based on page's slug
Dec
20
asked Post and Page Inheritance to subsites in a WordPress Network
Nov
19
comment Sub-domain or 2nd, temporary different domain?
yes.. it will update the custom posts too.
Nov
18
revised Sub-domain or 2nd, temporary different domain?
added 170 characters in body
Nov
18
comment Sub-domain or 2nd, temporary different domain?
Updated the answer to fix the internal links. Most SQL queries are not that scary, I use the above queries every next day.
Nov
18
revised Sub-domain or 2nd, temporary different domain?
fixing internal links
Nov
18
comment Sub-domain or 2nd, temporary different domain?
Well, that heading follows the method above it. We are not following the long method it describes. In our case, I outlined above, this will work without accidents.
Nov
18
answered Sub-domain or 2nd, temporary different domain?
Aug
24
comment Updating post meta and Meta Box plugin
I come across similar situation. Reason 1: my hook was called earlier than WP hooks therefore my changes were overwritten. Please set priority parameter (third parameter) of add_action to 99.
Aug
15
comment How can I have one website with two servers in different countries?
May be you should try Cloud hosting.
Aug
15
revised Detecting if parent page has gallery
added 19 characters in body
Aug
15
answered How to customize admin edit page - custom type
Aug
15
answered Detecting if parent page has gallery