Reputation
Top tag
Next privilege 50 Rep.
Comment everywhere
Badges
7
Newest
 Teacher
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 21 votes cast
Nov
4
comment RegExp to EXCLUDE strip HTML (FOR SOMME) comments
This previous code is working by outputting this part of the code: <!--mfunc 6a542c37559e014373f28e414e7b5d7a --> 953 Now, it looks like this is breaking the code because it's not ending the comment "capsule" by outputting this at the end <!--/mfunc 6a542c37559e014373f28e414e7b5d7a -->. The full (outputted) code should be <!--mfunc 6a542c37559e014373f28e414e7b5d7a --> <?php echo rand(0,1000); ?> <!--/mfunc 6a542c37559e014373f28e414e7b5d7a -->. But When you altered the slash pattern to \/?, it stopped working at all...
Nov
4
comment RegExp to EXCLUDE strip HTML (FOR SOMME) comments
Maybe this is a problem on my side... I don't have a clue why, but the truth is that it stopped working... I don't know if I have this well explained but the RegExp should exclud all regular HTML comments and left intact all the ones that start with <!--mfunc mysecuritystring --> and end with <!--/mfunc mysecuritystring -->
Nov
4
comment RegExp to EXCLUDE strip HTML (FOR SOMME) comments
now it stop working... :-(
Nov
4
comment RegExp to EXCLUDE strip HTML (FOR SOMME) comments
I think this could work... Right now, it only excludes from remotion the first part of the comment but doesn't closes it. This is how is outputting: <!--mfunc db26fe44e57fcb1474e4094247b0252e --> 148<div class="clear" style="margin-top:30px;"></div> and I think it should be like this: <!--mfunc db26fe44e57fcb1474e4094247b0252e --> 148 <!--/mfunc db26fe44e57fcb1474e4094247b0252e -->
Oct
13
comment Query posts by specific word on title
@PieterGoosen Thanks, again! By the way, do you know how can I multiple words in the title instead of just one? Example: How can I query '_name__like' => 'Her car*'
Dec
22
comment Related posts by author pagination not working on the production site
this is my local htaccess code # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /loc/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /loc/index.php [L] </IfModule> # END WordPress and it's precisely the same on the production site. This sound like a well covered mystery... :-)
Dec
21
comment Related posts by author pagination not working on the production site
This is perfect and works fine, thanks! I just added 'author' => $authordata->ID, 'post_type' => 'post', 'post__not_in' => array( $post->ID ),, but I still dind't get why my code dind't worked on a live server...
Dec
20
comment Related posts by author pagination not working on the production site
I just have a question that is killing me: Why is this working on localhost and not on production site??
Dec
20
comment Related posts by author pagination not working on the production site
I'm lost... can you be more specific?
Dec
20
comment Related posts by author pagination not working on the production site
@cybmeta this is not a problem of wp_pagenavi! Did you pay attention to all the references that I made on the question? Please read well before commenting like this...
Dec
20
comment Paginate get related post by author function
here is new one , thanks!
Dec
20
comment Paginate get related post by author function
Me too... In my local php.ini I have: mysql.trace_mode = Off and tried to turn it On by placing this: mysql.trace_mode = On. After that I've reset all services and the pagination on localhost has working, so I don't think that is the problem...
Dec
20
comment Paginate get related post by author function
No. This is a listing page (single-listing.php) and I have the page like this: first it shows (by order) the single listing content, the comments, your code (to list all posts by the author of that listing), and after that are all listings related to the current one. Hope that helps...
Dec
20
comment Paginate get related post by author function
I also tested this on my local machine and it's working there, but I've posted the comment because I was thinking that if you have more experience than I in programming, maybe, you could have a glimpse on why this could possible happen. The problem is that it doesn't let me go to the second or third or any other pages (if they exist) but it doesn't show me any 404 page...
Dec
19
comment Paginate get related post by author function
Hi, this paginations links stoped work when I've puted my site on a live server. This code has been successfully tested on my localhost but when I pass the site to live server, the pagination crashes with wordpress permalinks set (/% postname% /) and only works with the default permalinks (? p = 123). Why is this happening?
Dec
17
comment Paginate get related post by author function
@PieterGoosen How should I implement that? I took several hours making this work but I'm no expert... Thanks in advanced!
Dec
16
comment Paginate get related post by author function
I already tried this before but your code doesn't works also. This is driving me nuts....
Jun
28
comment update image path with words starting uppercase to lowercase chars
Thanks, it's working perfectly!
Jun
28
comment update image path with words starting uppercase to lowercase chars
Brilliant! Can I run this on all posts at same time instead of doing it one by one?
Jun
28
comment update image path with words starting uppercase to lowercase chars
I just paste it in functions... should I add something to this function? add_action, perhaps??