lorensson
Forum Replies Created
-
Forum: Plugins
In reply to: [Sendit WP Newsletter] SendIt's Website is AwefulI’m sorry but these forums do not support commercial products. Only the free plugins downloaded from https://www.ads-software.com/plugins/. Please contact the plugin’s vendor directly with any questions about commercial products.
Thanks Esmi. I know that, not sure if OP knows that.
Forum: Plugins
In reply to: [Sendit WP Newsletter] SendIt's Website is AwefulI wish you had done this a month ago and actually replied to the users who bought this from you. I purchased it, received nothing, no replies to any of my communications, and had to file a PayPal claim to get my money back.
Based on my experience and despite my needs I would never purchase anything from you due to questionable support / communication.
Forum: Plugins
In reply to: [Sendit WP Newsletter] SendIt's Website is AwefulSame here. Not sure what’s going on here. I’m filing a complaint through PayPal.
This is the error. Someone please address this!
I’m using it in conjunction with Gravity Forms.
Forum: Fixing WordPress
In reply to: add parent cat to drop down cat list?Thanks — but where would I put that within my code?
Forum: Fixing WordPress
In reply to: list current cat's child cats' posts with nestingHi Mike, thanks for the reply. That’s a good idea but unfortunately the code I’m using (above) isn’t ‘printing’ nested lists – it’s putting all categories regardless of hierarchy at the same top level
ul
— so I guess two things would work for me:- get the code to print nested lists according to WP category hierarchy instead of all at same level, or
- leave the code printing them at the same level but giving the 3rd level category titles a new class
Sorry about the code. Have used Pastebin – hope this is the right way to do it.
Pastebin: https://pastebin.com/s7Mp8PrW
Forum: Themes and Templates
In reply to: list ONLY page siblings?That seems to have done the trick Chip. Thanks a lot man I owe you a beer!
Forum: Themes and Templates
In reply to: list ONLY page siblings?<ul> <?php global $post; $current_page_parent = ( $post->post_parent ? $post->post_parent : $post->ID ); wp_list_pages( 'title_li=&child_of=$current_page_parent&depth=1' ); ?> </ul>
For some reason this comment system is removing semi-colon after
global $post
Forum: Themes and Templates
In reply to: list ONLY page siblings?<ul> <?php global $post $current_page_parent = ( $post->post_parent ? $post->post_parent : $post->ID ); wp_list_pages( 'title_li=&child_of=$current_page_parent&depth=1' ); ?> </ul>
This is returning a list of all top-level pages on the site. Any ideas why?
Forum: Themes and Templates
In reply to: list ONLY page siblings?Hi Chip, I’m getting a syntax error with your last bit of code, the line starting with
$current_page_parent
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';'
Any ideas?
Forum: Themes and Templates
In reply to: list ONLY page siblings?Thanks esmi. I wish I understood PHP a bit better. I know enough to get through most common WordPress functions, but not much else.
Forum: Themes and Templates
In reply to: list ONLY page siblings?Thanks for your reply Chip.
That’s *just* beyond my PHP abilities I’m afraid. Could I bother you to mark something up for me?
Forum: Themes and Templates
In reply to: list ONLY page siblings?Thanks for the reply esmi, I should have been more clear.
It seems the list_subpages function only lets me list subpages of the current page. It lets me list siblings, but I don’t know how to make that list only show up when on a grandchild page of a particular parent page.
Essentially, I only want this list of siblings to show under a particular parent page which has children and grandchildren. I want the list to only show on the grandchildren pages.
So for example, if this was my sitemap:
- fruits
- red fruits
- apples
- strawberries
- cherries
- green fruits
- kiwis
- limes
- pears
- veggies
- yucky veggies
- squashes
- peas
- yummy veggies
- carrots
- potatoes
- favorites
- pizza
- Del Taco
- Macho Combo Burrito
I want to ONLY show the siblings of the grandchildren of Fruits when on a grandchild of fruits, and only grandchildren of Fruits, not of Veggies or Favorites. So If I’m on Cherries, I want to see links to Cherries, Apples and Strawberries.
Can anyone help with this? AAt this point, I’m even willing to use a custom page template, but as this is for a client I cannot expect them to manually add page ID’s to a PHP file. It must be automated to some degree.
Thanks in advance for any advice. I hope I’ve been clear enough.