viothrash
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Well, I’m trying to override in this path:
themes/mytheme-child/wplhtml/views/frontend/property_show/default.php
Still doing nothing..
With this function
function thelist() { $included_files = get_included_files(); $stylesheet_dir = str_replace( '\\', '/', get_stylesheet_directory() ); $template_dir = str_replace( '\\', '/', get_template_directory() ); echo '<h3 class="debugtitle">Theme file templates used in this page</h3>'; echo'<ul>'; foreach ( $included_files as $key => $path ) { $path = str_replace( '\\', '/', $path ); if ( false === strpos( $path, $stylesheet_dir ) && false === strpos( $path, $template_dir ) ) unset( $included_files[$key] ); if(strpos($path, '/wp-content/plugins/real-estate-listing-realtyna-wpl/views/') == true || strpos($path, '/wp-content/themes/sunbelt/wplhtml/') == true) { echo "<li>" . $key." = ". $path."</li>"; } } echo '</ul>'; }Still returning plugin files that been used in property show page:
216 = /.../plugins/real-estate-listing-realtyna-wpl/views/frontend/property_show/wpl_main.php 217 = /.../plugins/real-estate-listing-realtyna-wpl/views/frontend/property_show/wpl_abstract.php 221 = /.../plugins/real-estate-listing-realtyna-wpl/views/frontend/property_show/tmpl/default.php 222 = /.../plugins/real-estate-listing-realtyna-wpl/views/frontend/property_show/tmpl/scripts/js.phpDo you mean that copying all files will make nothing work?
Well, figured it out using three WPL Carousel widgets, but have to adjust the CSS.
Ok, it was directories write permissions. Thanks.
Same here..
Viewing 5 replies - 1 through 5 (of 5 total)