\documentclass[12pt,twoside]{article}
\renewcommand{\abstractname}{\vspace{-\baselineskip}}
\usepackage{hyperref}
\usepackage{setspace}
\urlstyle{same}
\usepackage{geometry}
\geometry{left=1.25in, right= 1.25in ,top=1.7in}
\setlength{\parindent}{.5in}
\renewcommand{\baselinestretch}{1.3}
\setlength{\parskip}{\baselineskip}
\usepackage{xcolor}
\usepackage{fancyhdr}
\usepackage[font=normal]{caption}
\renewcommand{\headrulewidth}{0pt}
\usepackage[labelfont=bf]{caption}
\captionsetup[figure]{labelfont={bf},name={Figure},labelsep=period}
\usepackage{natbib}
\setlength{\bibhang}{0.5in}
\bibliographystyle{apalike}
\usepackage{graphicx}
%\usepackage{float}
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{titling}
\settowidth{\thanksmarkwidth}{*}
\setlength{\thanksmargin}{-\thanksmarkwidth}
\usepackage[hang,flushmargin]{footmisc}
\setlength{\skip\footins}{1.2pc plus 5pt minus 2pt}
\usepackage{titlesec}
\setlength{\droptitle}{-5em}
\setlength\thanksmarkwidth{.5em}
\setlength\thanksmargin{-\thanksmarkwidth}
\titleformat{\section}{\normalfont\bfseries\filcenter}{}{0pt}{}
\titleformat{\subsection}{\normalfont\bfseries\filcenter}{}{0pt}{\itshape}
\titleformat{\subsubsection}{\normalfont\bfseries\filcenter}{}{0pt}{\itshape}
\titlespacing*{\section}
{0pt}{-.1\baselineskip}{-.1\baselineskip}
\titlespacing*{\subsection}
{0pt}{-.1\baselineskip}{-.1\baselineskip}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\fontspec{Times New Roman}
\date{}
\providecommand{\keywords}[1]
{
\small
\textit{\hspace{-1em} Keywords: } #1
}
\newfontfamily\headingfont[]{Arial}
%Add Author names to headers and footers here:
\fancypagestyle{firstpage}{
\fancyhf{}% clear all fields
\fancyfoot[L]{ \footnotesize Copyright \copyright 2021 (Author1 and Author2, or Author1 et al.). Licensed under the Creative Commons Attribution Non-commercial No Derivatives (by-nc-nd). Available at: \url{http://journalqd.org}}%
\lhead{ \footnotesize Journal of Quantitative Description: Digital Media 1(2021), 1–n}
\rhead{ \footnotesize 10.51685/jqd.2021.XXX}
}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LO]{ \footnotesize Journal of Quantitative Description: Digital Media 1(2021)}
\fancyhead[RO]{ \footnotesize Short Title \thepage}
\fancyhead[LE]{ \footnotesize Author1 and Author2 (or Author1 et al.)}
\fancyhead[RE]{ \footnotesize Journal of Quantitative Description: Digital Media 1(2021) \thepage}
%Article Title goes here
\title{\normalsize \headingfont \textbf{JQD Template} \vspace{-1.5em}}
%Author names and affiliations go here, any Acknowledgements / authors' note / disclosure statement goes into \thanks{}
\author{\normalsize FIRST AUTHOR NAME\\ \normalsize Institution, Country
\vspace{1em} \\ \normalsize SECOND AUTHOR NAME \\ \normalsize Institution, Country \thanks{Author 1: author1's enail address} \thanks{Author 2: author2's enail address} \thanks{Date submitted: XXXX-XX-XX}}
\usepackage{lipsum}
\renewcommand\footnotemark{}
\begin{document}
\maketitle
\thispagestyle{firstpage}
\vspace{-8em}
\begin{abstract}
\noindent \lipsum[5]
\end{abstract}
\keywords{\textit{tortoise, hare, friendship} \vspace{8ex}}
\lipsum[4-5]
\section{Sub-Head}
\lipsum[6-7]\footnote{ \lipsum[2] }
\begin{figure}[H]
\includegraphics[]{figure1.png}
\caption{\textbf{The tortoise and the hare.}}
\floatfoot{\normalsize \textit{Note.} The tortoise and the hare may or may not be friends}
\end{figure}
\lipsum[2] He wrote:
\begin{quotation}
\lipsum[10] \citep{citation1}
\end{quotation}
\subsection{2nd Level Sub-Head}
\lipsum[7]
\begin{table}[H]
\caption{\textbf{Sample Descriptives.}}
\begin{tabularx}{\textwidth}{ X c }
\toprule
Variable & Mean (SD) \\
\midrule
Text & \\
& \\
\bottomrule
\textit{Note.} The tortoise and the hare may or may not be friends.
\end{tabularx}
\end{table}
\lipsum[8]
\section{Acknowledgments}
Acknowledgements/ Author's disclosure/ funding statement.
\bibliography{ref}
\end{document}