Samer Bechara
Forum Replies Created
-
Forum: Plugins
In reply to: [Ultimate LinkedIn Integration] No settings tabSorry for the late reply, just saw this.
Can you check if Piklist plugin is installed and activated? The plugin should have prompted you to install it. This is the only reason that I can think of.
Forum: Networking WordPress
In reply to: Cannot get registered nav menus with switch to blogjkhongusc, can you explain to me why this won’t work? I’m just trying to understand the logic behind it, and it doesn’t seem to make sense.
For anyone looking for a solution, here is my workaround:
switch_to_blog($blog_id); // Get registered menu locations via get_option $theme_options = get_option('theme_mods_'. get_stylesheet()); // Get theme menu locations being used $theme_menu_locations = $theme_options['nav_menu_locations']; // Dump menu locations var_dump($theme_menu_locations); restore_current_blog();
The only downside is that you only get the menu locations with a menu attached to them. For example, if you had two menu locations in your theme, and only one was being used, the other will not show here.
However, I didn’t need more than that, so it solved my problem.
Forum: Networking WordPress
In reply to: Cannot get registered nav menus with switch to blogThe blog ID is passed through a loop – I’ve checked that this is correctly set.
What do you mean by call globals? This is part of a plugin code. Can you clarify?
Thanks Steve, this was fixed. Marking as resolved.
Glad this is just a display issue. I’ll wait for your update.
Email has been sent along with code, thanks!
To update this thread, I have found a solution. Pippin you might have missed this out:
https://yourdomain.com/checkout?edd_action=straight_to_gateway&download_id=YOUR_DOWNLOAD_ID
Here is a link to the documentation page:
https://easydigitaldownloads.com/docs/creating-custom-add-to-cart-links/
Pippin,
Is there a way to have a link to the Paypal page which automatically adds the product?
I want to use this inside another plugin which doesn’t accept a shortcode. Is it possible to have a direct link?
Pippin, that’s fantastic, thank you! Have a great day!
Excellent, thank you! Could it get any better? ??
Pippin, you’re a magician! I put it in my wp-config.php file, and it works perfectly!
Forum: Plugins
In reply to: [Genesis Responsive Slider] Display read more link without post excerptActually, it turned out to be a pain to change it via CSS because the post content in the slider doesn’t have a CSS class.
What I did is as follows:
1) I changed the slider settings to show the post excerpt.
2) I added a link to the full post inside the excerpt section of the post.
Works like a charm! Perhaps you could have an option in a future version to show the “Read More” link along with the title only? That would be really useful.
Thanks for the great plugin!
Forum: Plugins
In reply to: [Genesis Responsive Slider] Display read more link without post excerptSolved, thanks!
Pippin, I found out that the latest version allows me to create downloads with no products associated, and on the purchase confirmation page, it will show “No downloads found”. That’s what I really need. Great addition!
Thanks, very helpful. To make sure I understand, extensions are separate wordpress plugins which require EDD to function properly. Is that correct?
Where is the best place to ask developer-related questions? Here or Github or somewhere else?