Josh
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Sort list of posts/products by product attribute1) Your orderby usage from the shortcode atts in the get_posts() args function is incorrect:
'orderby' => $orderbyshould be'orderby' => $atts['orderby'].Same for the
posts_per_pageargument., and theproduct_catargument.'posts_per_page' => $number_of_postsshould be'posts_per_page' => $atts['number_of_posts'].
'product_cat' => $categoryshould be'product_cat' => $atts['category'].2) Right after you run your
get_posts()function, you will get an array of all your matched posts, which is being assigned to your$postslistvariable.3) So, after you get your get_posts() and just before you run your foreach loop, you can sort your array results (the
$postslistvariable). You may have to var_dump() to see the output. And you may need a custom sort function to sort the array.Play around and let me know how you do. I imagine the custom sort function will be a little tricky, but go ahead and get familiar with the code (and the dumped array results).
Please let me know when you get “stuck” 🙂
Forum: Fixing WordPress
In reply to: ‘undefined’ message when saving theme optionsI applied a different theme about 10 days ago and have been making lots of changes without any problems.
How are you creating these changes? Are you using a child theme; or are you editing the theme files directly?
Forum: Plugins
In reply to: [WP Edit] WP Edit – Change LanguageHello,
I apologize for my delay.Well, plugin translations are typically included in the plugin. However, I believe the only translation I have been lucky enough to receive is Spanish (and it’s probably incomplete).
I have no idea how plugin developers get their plugins translated (friends, a premium service, ??). I hate to rely on Google Translate; since I know it can “guess” sometimes… and I would absolutely hate to have any text translated inappropriately.
If you are interested on working on a translation; I can provide you with the resources and instructions. It may be a bit time-consuming; but very rewarding 😉
Forum: Plugins
In reply to: [WP Edit] Drop Shadow?Hi Paul,
Sorry for my delay. The free version does have an option for drop-shadow text. You will want to enable the “predefined styles” option under the “Styles” tab. After enabling the option; make sure you have the “Font Formats” button somewhere in the active editor buttons; “Buttons” tab.
Now, go to a post page; highlight the text; click the “Font Formats” button; click “Predefined Styles” and select whichever style you would like to apply.
Forum: Plugins
In reply to: [WP Edit] Invalid argument supplied for foreachAhh… that makes sense Dave. Thank you.
Yes, the free version of this plugin doesn’t really support network activation. Even if network activated; I believe the options will only change for the main sub-site (wp_1) table; as options are adjusted in the plugin.
As you already mentioned; activating the plugin on each sub-site will definitely work.
If you are interested in network administration (all sub-sites using the same options; or managing sub-site options independently while keeping the plugin network activated), I encourage you to take a look at the pro version. It has an entire “option handling system” while network activated.
Forum: Plugins
In reply to: [WP Edit] Invalid argument supplied for foreachHi,
Was this plugin previously installed on the multi-sites? Or did you just install it on these multi-sites? Meaning, was it working before or did you just install it?
That line has to do with the buttons being output on the WP Edit settings page. You might want to try to go in manually to your DB, and delete the entry for “wp_edit_buttons”. This will clear that options value; and next time you reactivate the plugin, it will populate that value with the defaults.
Forum: Reviews
In reply to: [WP Edit] Works Great!Thank you very, very much 🙂
Forum: Fixing WordPress
In reply to: Menus – Pages Not Structured CorrectlyHello,
I think this might be caused by the way you have the pages ordered under the Pages admin menu. When you click to edit a page; you have an option to set it as a child page of another page.
So, edit a page, then look over to the right side of the screen. You should see a section named “Page Attributes”. In that section is a dropdown labeled “Parent”. This is where you set the parent page of the page you are editing.
I would make sure the pages that are not indented in your menu section, have a parent page set.
Forum: Plugins
In reply to: [WP Edit] ChangelogAdded. Thank you. I don’t know why; but sometimes that readme doesn’t update on the plugin repo. Thanks for catching!
Forum: Plugins
In reply to: [WP Edit] Two step hyperlinks?Hello,
I am very sorry for my delay. I believe this is something relating to the default “insert/edit link” button; that is provided within WordPress. Or, are you referring to the “insert/edit advanced link” button?
Forum: Plugins
In reply to: [WP Edit] can not center the table of WP EditHello Jeremy,
I am very sorry for my delay. Did you make any progress on this? The styling of tables is typically controlled by your theme; and it can be easily altered by using some custom CSS.
How do they appear on the front-end of your website (when you preview the post/page)? Are they centered?
Forum: Plugins
In reply to: [WP Edit] Confliict with Black Studio Visual EditorHello David,
First, if this is regarding the Pro version of WP Edit; then please create a Help Desk Ticket on our website.
Thank you for understanding, as I am unable to provide support for the pro version on these forums.
Forum: Plugins
In reply to: [WP Edit] Headings – No Line BreakHello,
I apologize for my delay. Did you reach a solution here? The spacing between heading elements is usually controlled by your theme CSS. You can add some custom CSS, via a child theme or plugin, which will allow you to alter the spacing before/after heading elements.
Just let me know if you still need this; and I’ll help you through the CSS code.
Forum: Plugins
In reply to: [WP Edit] Insert/Edit Advanced Link Button Doesn’t WorkHello again,
I just received a notice on the Pro forum of WP Edit of this same issue. So, it’s leading me to believe you are asking about the WP Edit Pro plugin.
If this is the case; I apologize, but I cannot offer support for that product on this forum. Instead, I encourage you to open a support ticket on the WP Edit Pro Help Desk.
If you are meaning the free version of WP Edit, please let me know.
Thank you.
Forum: Plugins
In reply to: [WP Edit] Can’t Change Button RowsHello,
As far as I know; there is no incompatibility issue with Visual Composer. But, if you wanted to rule it out, if you could deactivate the Visual Composer; and see if WP Edit loads the proper buttons in the normal post/page editor.
I don’t mean to condescend at all; but are you saving the buttons after you drag them to your desired locations (in the WP Edit admin settings page)?
Give these two a try; and please let em know your results.
Thanks.