Forum Replies Created

Viewing 15 replies - 316 through 330 (of 335 total)
  • Thread Starter maorb

    (@maorb)

    Update: I tried this also on the server, and not locally – same errors occured.

    Any help around?

    Thanks,
    Maor

    Thread Starter maorb

    (@maorb)

    You could use a non-existing category ID and have that map to something else, like pages with certain custom field (I assume there’s a custom field that appears on every page you want included in this special search). I’ll think about this a bit, I can probably provide you with the necessary code.

    I’m not sure I understand what you’ve meant by map a non-existing category ID to map to somehing else. How this could be done and helpful?

    Thread Starter maorb

    (@maorb)

    Thanks msaari for your detailed reply.

    Well, I agree it’s kinda pushing the limits… If all the requirement and ideas this clients comes up with every morning have been told at the start, I might have told him to choose another platform, but now he doesn’t want to build everything from the begining….

    Anyway, for you solution – how can I have tags for my static pages? and is there a way assign a special permanent tag automatically for pages in a certain page template? (since if one adds another company and forget to add the tag, it won’t be searched…)

    The problem will be, as you mentioned, with the excerpts for the results. Is there a way to display for example only the page name, so to prevent the non-pretty excerpts that has no data inside?

    Thread Starter maorb

    (@maorb)

    Thanks for the link.

    Is it possible to have in the sidebar another loop to show titles of posts inside a specific category, and exlude it from the main loop?

    Thread Starter maorb

    (@maorb)

    Well, the problem have been solved.

    The inner pages didn’t work, since the .htaccess file has redirected them to ./ instead to ./temp-url-with-IP …

    About the wp-admin –
    After I extracted all the files using the cPanel File Manager, all of the file and folder permissions were reset to 777.
    Since the new host has a security system, it could run the admin if is has group or everyone write permission to the file.
    I just don’t understand why they couldn’t tell me that at the begining. They should know that. Instead, they tried to claim I have a viurs/trojan at my php files.

    Thanks esmi for your support!
    M.

    Thread Starter maorb

    (@maorb)

    And another question, can I have 2 search methods?

    One should be put in the top navbar and will search for all of the posts and categories and pages, including custom fields,
    and another search should be put in the sidebar, that will have the limitations needed as I’ve mentioned above.

    Thread Starter maorb

    (@maorb)

    Thanks David.

    I think I’ve tried this plugin couple of weeks ago and it didn’t work as expected with custom fields.
    I see now that there’s a new bug fixed version from this week, so I’ll re-check it and see..

    I see in the plugin’s description that it can exclude specific categories and posts, but can it include only specific page tree?

    Thread Starter maorb

    (@maorb)

    Yes, you’re right, it is Search Unleashed plugin, and for the moment I’m using this plugin for search, but I have some problems with it (for example – it find terms only if I’m on the hompepage), so I’m also looking for some other plugin to replace.
    I think the plugin is going directly to the MySQL database when searching. It identifies the plugins you use, and thus (I think) it knows which tables in the database to scan.

    Do you think that there is an option to use 2 different Search plugins, or it might be a mess?

    I have another question, but I’ll open a new thread, since it about another issue of the search possibilty..

    Thanks a lot for your answers, and for the quick time you answer. I really appreciate that!

    Maor

    Thread Starter maorb

    (@maorb)

    Well, I use the WP-Directory-List plugin, which creates the tables
    wp_directory_link_cats
    wp_directory_links

    The first for the categories you define, and the second for the directory link themseleves, there you have some text fields such as the name of the link, description etc and other fields for address, city, website, and so on.
    But these tables are not attached to any Post ID, and there’s no field for that, only the id of a record in the table, since when you want to display the content of a category in a post/page, you just use some shortcode for that.

    Is there an option to manually add to the plugin the tables’ names that I want to index, and in that way have them being indexed?

    Thread Starter maorb

    (@maorb)

    How could I reset them, if for now with the temp URL in the new host, the wp-admin is not available?
    Should I just delete the lines between #begin wordpress and #end wordpress that appears in the .htaccess file?

    And if I reset them now, will after setting them again later, all the current permalinks will be still preserved?

    Thanks

    Thread Starter maorb

    (@maorb)

    I’ve changed in the wp-options table the siteurl and home fields to the temporary address, which is http://IP_Address/~username/domain_folder

    I manage now to see my homepage, but every inner pages are not viewable and I get not found error (maybe something with the .htaccess?)
    Also, the wp-admin for the admin menu is also still unavailable.

    Is there anything more I should change in order to fully check the site at the new host?

    Thanks,
    M.

    This might help you
    http://educhalk.org/blog/?p=50

    Thread Starter maorb

    (@maorb)

    Thanks for your answer.

    So I understand that for the moment, if I have more tables which were created by a directory plugin, Relevanssi won’t find them on the site search?
    I’d be really happy if such a feature of searching other tables as well will be also included and possible.
    I think that for the moment the Search Unleashed plugin is the only one that indexes also other MySQL tables, thus gives a wide answer for searching more content on a site.

    Thanks

    Thread Starter maorb

    (@maorb)

    Found a solution. Change the word “out” to the name of the category to exclude from list.
    Enjoy the code

    <?php
    foreach((get_the_category()) as $category) {
    if ($category->cat_name != 'out') {
    echo 'term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.' ';
    }
    }
    ?>
    Thread Starter maorb

    (@maorb)

Viewing 15 replies - 316 through 330 (of 335 total)