jmonroesmith
Forum Replies Created
-
Forum: Hacks
In reply to: insert link from excerpt to full blogThis is a very simple example for a single excerpt:
<?php echo '<p><a href="'; echo the_permalink(); echo '">'; echo the_excerpt(); echo '</a></p>'; ?>
You just wrap the_excerpt() in a anchor tag.
Forum: Plugins
In reply to: [WP-dTree] Include parent page in tree hierarchyYes. Thank you for summing up the issue so succinctly. It would have helped if I stated that in the beginning.
Forum: Plugins
In reply to: [WP-dTree] Include parent page in tree hierarchyI think you were unable to duplicate the issue because your example only has one top-level page and mine has several (11 to be exact). If you add another top-level page, it will show in the list. That is not the desired look. I do not want it to be another global navigation. I want the tree menu to be “local” navigation for that particular section of the site; in my example, that would be Business Services.
To remove other pages from the tree, you have to set “Select only children of:” to the page id, but then the top-level page is excluded from the tree. Perhaps if you set yours to the page ID it will duplicate the issue.
As I stated in my original post, the desired look can be achieved by inputting all the page IDs in the “Include” field, but that becomes somewhat impractical if you have 80 to 100 (or more) pages.
If that is how I have to achieve the desired look, then I guess I do not have any choice. I greatly appreciate your help. Aside from this issue, I really like this plugin.
Forum: Plugins
In reply to: [WP-dTree] Include parent page in tree hierarchyI apologize if my explanation was not clear. I’ll try again.
The problem is simple. My top-level pages (the pages that are in my global navigation and do not have parent pages) do not show up in the tree.
For example, for the top-level page called “Business Support”, the tree looks like this:
open all | close all Polices & Procedures + Business Documents + Business Services + Financial Management + IT Support
The top level page (the parent page to all of the above tree) is absent. The only way to navigate back to “Business Support” is to use the global navigation. I would prefer the tree look like this:
open all | close all Business Support Polices & Procedures + Business Documents + Business Services + Financial Management + IT Support
Does that make sense?
I do not have “Set ‘Child of’ to active page” enabled.
This is just a suggestion. A button by nature is supposed to do something. To force it to do nothing defeats its purpose. If you like the look of the buttons, then I suggest you create a CSS class to apply to your headings. There are plenty of CSS generators for creating rounded corners, drop shadows, and gradient fills.
Try https://css3gen.com/button-generator/
Also, take a look at these other generators:
https://css3generator.com/
https://www.cssmatic.com/
https://www.colorzilla.com/gradient-editor/Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] su_column size in %@muhammed Alhammouri – If I understand your problem correctly, you need to add the [su_row][/su_row] around your [su_column][/su_column].
Do this by inserting the row shortcode instead of the column shortcode.
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] su_column size in %As you found out, sevenths do not work. Use fifths if you want 40%-20%-40%. Sixths are the smallest fraction you can use with this plugin. Unless your page is always very wide, 14 percent (1/7) is a very narrow column width.
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] su_column size in %Convert your percentages to fractions.
Twenty percent is equal to 1/5 (5*20=100). If you want 40-20-40, use 2/5-1/5-2/5.