Home › Forums › Front-end Issues › Disable custom field on pagination pages (elementor) › Reply To: Disable custom field on pagination pages (elementor)
I cannot tell you how to apply this to a page template created in elementor theme builder, that would be a questions specific to elementor.
All I can tell you is how you would do this using PHP code
$current_page = get_query_var('paged', 1);
if ($current_page == 1){
// content only on first page
}
I did find this, don’t know if it will be helpful or not: https://stackoverflow.com/questions/69097872/how-to-assign-elementor-template-to-only-first-page-of-archive-category
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.