• I like the “Plugin Based Content Box” and plugin search page for the frontpage results settings, but in order to fit with our theme I had to add a few divs to:

    cloud-search-template-default.php
    cloud-search-content-default.php

    When the plugin updated, of course, those changes to the plugin’s core files were overwritten and I lost the formatting. What’s the best way to make sure that doesn’t happen again?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrea Landonio

    (@lando1982)

    Hello, download the 1.6.4 release.. I’ve added a simple check for custom template.. read in “Documentation -> Utilities” section.
    Add a file “templates/cloud-search-template.php” in your theme (copy the default one, then edit it). If the plugin found this file use it with your markup, otherwise the default one will be used.
    For the “content” template you can copy “cloud-search-content-default.php” file in your theme root, rename it in “cloud-search-content.php”, edit it and then set the “Content box type” to “Custom” with a value of “cloud-search-content.php”.

    Should works correctly without losing data after every plugin update..
    ??

    Thread Starter Dave

    (@ccsm)

    That helps for overriding cloud-search-template-default.php, but I also want to override “cloud-search-content-default.php”, as I want the photos in a different place. Can that be added?

    Plugin Author Andrea Landonio

    (@lando1982)

    Hi Dave,

    For the “content” template you can copy “cloud-search-content-default.php” file from the plugin “templates” folder in your theme root, rename it in “cloud-search-content.php”, edit it for changing the photo position and then set the “Content box type” to “Custom” with a value of “cloud-search-content.php” in the plugin “Settings” page.

    I think it should works and solve your problem..
    Bye

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child theme?’ is closed to new replies.