518 reputation
416
bio website yourwebsolutions.com.au
location Gold Coast, Australia
age 23
visits member for 2 years, 5 months
seen Feb 12 at 1:42

I have been known to do things on occasion.


Jan
12
awarded  Popular Question
Nov
9
awarded  Yearling
Oct
13
awarded  Informed
Oct
13
asked Woocommerce “There was a problem connecting to the payment gateway.”
Jan
7
awarded  Notable Question
Nov
9
awarded  Yearling
Sep
21
awarded  Custodian
Sep
12
awarded  Popular Question
Jul
11
awarded  Tenacious
Jun
8
comment Friendica integration using wordpress authentication
Flagged too localised
Jun
8
answered Wanting to apply different featured images for each post
Jun
1
revised What is appropriate flow for custom data from URL in WP_Query?
Syntax error
Jun
1
answered What is appropriate flow for custom data from URL in WP_Query?
Jun
1
suggested suggested edit on
Jun
1
suggested suggested edit on
Jun
1
comment Get current Wordpress page then add #post ID to the end
I hope that made sense, and for whatever reason the linking didn't work properly.
Jun
1
comment Get current Wordpress page then add #post ID to the end
The trailing slash shouldn't be an issue but if you use get_permalink() to store the_permalink() into a variable then use <a href="php.net/manual/en/function.strpos.php">strpos</a>; to get the offset then <a href="php.net/manual/en/function.substr.php">substr</a>; to trim everything from 0 to offset (possibly offset - or + 1) then use the output of that in favour of just straight the_permalink()
May
30
answered Get current Wordpress page then add #post ID to the end
May
29
revised Wordpress Plugin Receive a Link
Added additional information
May
29
comment Wordpress Plugin Receive a Link
Going on the following assumptions; a) you want this called when a "star" is clicked, b) $id is the global variable $post_ID and c) $rate is the 1-5 rating of the star/post, you could use a form and place the elements with a for loop or you could try and do it dynamically with a jQuery/PHP fusion thing. I'll add the for loop solution to my answer as off the top of my head I am not sure of the jQuery/PHP solution