Plugin code modifications to classipress?
I am wondering if making changes to codes given in the plugin instructions is the same as making modifications to Classipress? Could you please help to check it? I do not plan to modify the code in the theme folder as I want to upgrade the classipress to a newer version in the future. I have written down below the instructions given in the "search custom field" plugin I purchased.
"If you plan to make any modifications to ClassiPress 4.x, you should always do it with a child theme. Never modify the code in the theme folder. It will almost always result in problems in the future." -Classipress
3. Go to 'Appearance>Editor' menu and select your ClassiPress theme on the dropdown 'Select theme to edit:'
4. You'll see the theme files on the right column. Click on the 'search.php' file to edit.
5. Open the patch file (included) 'search.php_patch.txt' and copy&paste the content just after <div class="content_left"> and before <?php if ( have_posts() ) : ?> similar to this:
(...) <div class="content_left">
<?php if ($_GET['search-class']) {
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts(array('caller_get_posts' => 1, 'paged'=>$paged));
} ?>
<?php if ( have_posts() ) : ?> (...)
6. We're done! Now, you can configure your search plugin to include advanced search in your website.