Main wordpress code