\documentclass[a4paper, 12pt, oneside,apa]{report}
%\documentclass{article} To write the article
\usepackage{blindtext}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
% to show refernce in table of contents
\usepackage[nottoc]{tocbibind}
\usepackage[
backend=biber,
style=apa,
sorting=nyt,
]{biblatex}
\addbibresource{biblio.bib}
% to insert images
\usepackage{graphicx}
% to insert math equations
\usepackage{amsmath}
% to insert symbols
\usepackage{amssymb}
\usepackage{dirtytalk}
\usepackage{multicol}
% To set captions
\usepackage[font=footnotesize,labelfont=bf]{caption}
\usepackage{fancyhdr}
% To make a heading of Reference
%Page Margins settings
\setlength{\topmargin}{-0.5in}
\setlength{\oddsidemargin}{20pt}
\setlength{\evensidemargin}{15pt}
\setlength{\textheight}{9.5in}
\setlength{\textwidth}{6.25in}
\setlength{\parindent}{3em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}
\makeatother
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan,
pdftitle={Overleaf Example},
pdfpagemode=FullScreen,
}
\begin{document}
\include{cover1}
\pagenumbering{roman}
\include{titlepage}
\include{certificate}
\include{dedication}
\include{abstract}
\include{Acknowledgement}
\tableofcontents %to make the table of contents
\listoffigures % for list of figures
\listoftables % For list of Tables
%to start the page numbering from desired number we used
% start roman page numbering
\clearpage
\pagenumbering{arabic} % start arabic page numbering
%chapter1 formatting
\chapter{Write Your First Chapter's Name}
\pagestyle{fancy}
\fancyhf{}
\rhead{\small Write Your First Chapter's Name}
\lhead{\small Chapter 1}
\rfoot{\thepage}
\lfoot{\small M.Phil. Thesis}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{2pt}
\input{chapter1}
%chapter2 formatting
\chapter{Write Your Second Chapter's Name}
\pagestyle{fancy}
\fancyhf{}
\rhead{\small Write Your Second Chapter's Name}
\lhead{\small Chapter 2}
\rfoot{\thepage}
\lfoot{\small M.Phil. Thesis}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{2pt}
\input{chapter2}
%chapter3 formatting
\chapter{Write Your Third Chapter's Name}
\pagestyle{fancy}
\fancyhf{}
\rhead{\small Write Your Third Chapter's Name}
\lhead{\small Chapter 3}
\rfoot{\thepage}
\lfoot{\small M.Phil. Thesis}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{2pt}
\input{chapter3}
%chapter4 formatting
\chapter{Write Your Fourth Chapter's Name}
\pagestyle{fancy}
\fancyhf{}
\rhead{\small Write Your Fourth Chapter's Name}
\lhead{\small Chapter 4}
\rfoot{\thepage}
\lfoot{\small M.Phil. Thesis}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{2pt}
\input{chapter4}
%chapter5 formatting
\chapter{Write Your Fifth Chapter's Name}
\pagestyle{fancy}
\fancyhf{}
\rhead{\small Write Your Fifth Chapter's Name}
\lhead{\small Chapter 5}
\rfoot{\thepage}
\lfoot{\small M.Phil. Thesis}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{2pt}
\input{chapter5}
%References formatting
\newpage
\renewcommand{\bibname}{References}
%to set the reference format
%\def\bibsection{\section*{References}}
\pagestyle{fancy}
\fancyhf{}
\rhead{References}
\rfoot{\thepage}
\lfoot{M.Phil. Thesis}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{2pt}
\printbibliography
\end{document}