marvix2018
Forum Replies Created
Viewing 8 replies - 1 through 8 (of 8 total)
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to limit words in widget?What I mean that I need with CSS will cut the word (hide part of the word) as I set the width of the span. The better way to truncate the title is by counting the number of the words, then set how many words to display.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to limit words in widget?Thanks .. but this not solve the issue, it is trimming the last word.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] S3 me-souch issueUpdate…
It is working fine with another S3 region such as eu/Paris
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] S3 me-souch issueUpdate, I change the user policy to S3 admin, yet I’m getting same error.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to override single.php?Marking this as resolved.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to override single.php?It was W3 plugin issue.
I change the path of the file, I created new them in the themes root to avoid file deletion on theme update.function override_templates( $tpl ) { //echo get_theme_root() . "/wpadverts/"; $dirs = array(); // first check in child-theme directory $dirs[] = get_stylesheet_directory() . "/wpadverts/"; // next check in parent theme directory $dirs[] = get_theme_root() . "/wpadverts/"; // if nothing else use default template $dirs[] = ADVERTS_PATH . "/templates/"; // use absolute path in case the full path to the file was passed $dirs[] = dirname( $tpl ) . '/'; $basename = basename( $tpl ); foreach($dirs as $dir) { if( file_exists( $dir . $basename ) ) { return $dir . $basename; } } }
Thanks,
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How I can display the category name?I got it …
single_term_title()
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How I can display the category name?as I said, I created new list.php file, so the on the above of the category list.
Viewing 8 replies - 1 through 8 (of 8 total)