sepp88
Forum Replies Created
-
Forum: Networking WordPress
In reply to: WP Multisite: Redirect loop after migrating to real server@davidsword I do not have “www” in any of my database links …
e.g. wp_site … http://cl.ly/VE7V
e.g. wp_sitemeta … http://cl.ly/VCsl
e.g. wp_options … http://cl.ly/VDAa
e.g. wp_blogs … http://cl.ly/VDLOLike mentioned, it works perfect locally. I edited just the string of the url itself without www, http, or a /
That’s why I don’t get it.
You see my .htaccess file above. Is this correct?
my DNS Settings look like this … http://cl.ly/VDESForum: Networking WordPress
In reply to: WP Multisite: Redirect loop after migrating to real serverDear @davidsword,
thank you for your help … however I’m not sure what is causing the loop … see for yourself here … http://j.mp/1ijMq5K
This is the real domain, I’m working on.
Forum: Networking WordPress
In reply to: WP Multisite: Redirect loop after migrating to real server@davidsword
Well, I of course only replaced the domain itself without trailing slash.
And all the places you’ve mentioned are set tonewdomain.com`I just don’t get it.
Forum: Plugins
In reply to: Subscribers: Allow Sign Up as Subscriber but as inactive usersThank you perfect!
So I’m thinking if there is a hook or filter to add a custom form code in my functions.php to rewrite the signup form?
Thank you, perfect. Reverting it to draft and publishing it solves my problem!
Another question though. Is it possible to use a custom subscribe html code for the subscribe form? And is it possible to add a second field to the subscribe form like the name of the subscriber?
Thank you for your quick response. Awesome.
Forum: Hacks
In reply to: add_filter sometimes working, sometimes not working … simply replacing textPuh, first of thank you very much. However since I’m really fresh to php this is very complicated for me, even though your explanaition sounds logically.
What do you mean by
`// then stuff $str back into the original string in place of $chr
Even though I’m ashamed to ask, but would you mind implementing your if-statement into my function?
Thank you in advance!
Forum: Hacks
In reply to: add_filter sometimes working, sometimes not working … simply replacing textThank you for your answer. What would my function look like if I’d use ascii codes instead of normal characters?
Forum: Themes and Templates
In reply to: searching for two terms and 20percent sign? no results?Update:
I found this in my script.js
$('.search-form').submit(function(e) { e.preventDefault(); location.href = $(this).attr('action') + escape( $(this).find('.s').val() ); });When uncommenting it my search doesn’t work at all. Always throws a 404 since my url does look like this
suche/?s=wordxyzForum: Themes and Templates
In reply to: searching for two terms and 20percent sign? no results?I know that %20 represents a space. However in previous wordpress installations and sites I worked with two words always worked in my search box.
There would be results for
beautiful carnot just forbeautifulORcar.In previous installations the search worked like this for two words …
http://mydomain.com/?s=word1+word2However this time I want to rewrite
/?s=tosuchebut have also two words work in the search.Any ideas?
Forum: Plugins
In reply to: str_replace characters in the_content? special characters not matched?It works for this elements perfectly …
'...' => '…', '(c)' => '©', '‹' => '«', '›' => '»', '„' => '«', '“' => '»',… but doesn’t for …
`’ – ‘ => ‘ — ‘,
‘ – ‘ => ‘ — ‘,
‘ –,’ => ‘ —, ‘,And as mentioned above I don’t know how to replace “upper-quotes” on both sides of a word.
E.g. <blockquote>iam voluptua. “Bt vero” eos et a</blockquote>
I have no replacement at the moment for those but would love to have
<blockquote>iam voluptua. «Bt vero» eos et a</blockquote>And the dashes don’t work either.
<blockquote>dolores et – ea rebum</blockquote>
I want every short “dash” (a normal dash) replaced by a “—” – but this doesn’t take effect.
Forum: Plugins
In reply to: str_replace characters in the_content? special characters not matched?Well if I add
echo $text; die;of course only the “title” of the post is printed because I’m adding the function to all possible contents like title, the_content, the_excerpt etc.add_filter('the_content', 'wr_replace_text', 100); add_filter('the_excerpt', 'wr_replace_text', 100); add_filter('the_title', 'wr_replace_text', 100); add_filter('category_description', 'wr_replace_text', 100); add_filter('term_description', 'wr_replace_text', 100); add_filter('pre_user_description', 'wr_replace_text', 100);If I remove the die all other texts get echoed as well so the filter is set correctly. It just doesn’t work for the quotes! And I don’t get why. It works if I set
'A' => 'B'but doesn’t for the quote marks.Forum: Plugins
In reply to: str_replace characters in the_content? special characters not matched?What do you mean by encoded?
I see them as normal text in the source, not encoded. Some Replacements work, other don’t. As if I had to specify a priority for the add_filter() function so that my replacements are always made.
Forum: Plugins
In reply to: add_filter for "get_pagenum_link" not applied? Why?I expect this to fire somewhere where my pagination is. If I click a paginatin link, or if i’m on the archive page somewhere I guess. I actually just want my pagination and search permalinks to have this permalink structure. But it doesn’t work.
Forum: Plugins
In reply to: add_filter for "get_pagenum_link" not applied? Why?the
die()doesn`t get fired either! The filter just doesn’t have any effect at all. the function is not fired!