starting_with not work
-
I’vea big problem with plugin. I try the plugin in localhost and, after editing in the file: lcp-parameters.php
“public function starting_with ($ where) {
????$ letters = explode (‘,’, $ this-> starting_with);
????$ where. = ‘AND (wp_posts.post_title’.
// ‘COLLATES UTF8_GENERAL_CI LIKE \’ ‘. $ letters [0]. “% ‘”;
???????‘LIKE \’ ‘. $ letters [0]. “% ‘”;
????for ($ i = 1; $ i <sizeof ($ letters); $ i ++) {
??????$ where. = ‘OR wp_posts.post_title’.
// ‘COLLATES UTF8_GENERAL_CI LIKE \’ ‘. $ letters [$ i]. “% ‘”;
‘LIKE \’ ‘. $ letters [$ i]. “% ‘”;
????} ”The plugin works correctly. My problem is this. I copied the page code from localhost to the website and the plugin does not seem to work.
If I write:
[catlist taxonomy = ‘genres’ terms = ’emerging’]
The plugin works but if I insert it inside a ul
<ul id = “multi”>
<span style = “font-size: 12pt; font-family: ‘times new roman’, times, serif;”> [catlist taxonomy = ‘genres’ terms = ’emerging’]
</ Ul>
Does not workIf instead I write
[catlist taxonomy = ‘genres’ terms = ’emerging’ starting_with = “a”]
The plugin does not workThe page I need help with: [log in to see the link]
- The topic ‘starting_with not work’ is closed to new replies.