rreimche
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] At least one product is not being indexedI have just checked — no, I haven excluded the product from search.
I am sure it is the theme. I need to fix it, not change it.
Well, setting permalinks to “Post title”, or how is it in english, and flushing permalinks — these 2 things helped.
Forum: Hacks
In reply to: Custom taxonomy somehow is not being addedThe problem was in name conflict with another taxonomy.
Forum: Themes and Templates
In reply to: Template hierarchy does not work correct.I’ve figured it out. In oder for archive page of a custom type to exist the following should be added to $args of register_post_type() in my case:
'has_archive' => 'requirements'
See register_post_type() codex page for this parameter and what it can do.
It makes problem with code validation. And that drives SEO-Guys nuts and they ask me to fix that ,)
My page is rendered in XHTML.
I don’t think it’s something about saving and publishing a post, because this is a front-end issue and the code is hardcoded into the footer.php.
I have already fixed the issue by closing the tags with “</area>”. W3C validator says it’s OK.
But thanks anyway ,)
Forum: Plugins
In reply to: A complex problem with displaying custom posts using parameters from $_GETThe problem was solved when I changed the names of the variables.
Forum: Plugins
In reply to: File download link gives 404, file exists. Very weird.by me now too… strange…
I’m starting to think it could be something about the server.
Forum: Plugins
In reply to: File download link gives 404, file exists. Very weird.https://demo.romanreimche.com/questtravel/tours/rovos-rail-претория-кейптаун/
The link is approximately in the middle of the page, arranged by an orange ellipse with the orange dotted border, the text is white.Forum: Plugins
In reply to: A complex problem with displaying custom posts using parameters from $_GETThanks, Ahmed.
Advices on the redirect problem would also be very helpful ,)
Forum: Plugins
In reply to: A complex problem with displaying custom posts using parameters from $_GETI’ve just figured out that when value of the taxonomy $_GET variable equals custom taxonomy term slug value, the “countries=aaa” is transformed to “/countries/aaa”.
Is there a way I can make so that it does not happen?
Forum: Themes and Templates
In reply to: Problem inserting custom taxonomy terms into on Options page.perhaps I should say that then I use $terms this way:
$options = array(
array( ‘name’ => ‘Option Name’,
“id” => “menu_id”,
‘type’ => ‘select’,
‘options’ => $terms,
“std” => “Stdout”)
)and then I use $options to update_option(), delete_option() and display the options <form>.
Forum: Themes and Templates
In reply to: Problem inserting custom taxonomy terms into on Options page.Actually the code #2 is the second edition of “my” code ,)
the first was:
$terms_raw = get_terms("my_taxonomy"); $count = count($terms_raw); $terms = array(); if ( $count > 0 ){ foreach ( $terms_raw as $term ) { $terms[] = $term->name; } }
And they both don’t work ,)