shahar
Forum Replies Created
-
Thanks for the follow-up! It’s been while and I think I created a custom solution for what I needed.
Closing the request now.
??Forum: Plugins
In reply to: [amCharts: Charts and Maps] Chart fails to embedThis is a general oEmbed issue, not related to this plugin.
However the deprecated js errors are correct.Forum: Plugins
In reply to: [Manual Related Posts] like_escape is deprecatedreplace backend-ajax.inc.php line 33 with:
$term = esc_sql( $wpdb -> esc_like( $s ) );
to fix
Nope, this was a clean install.
Forum: Networking WordPress
In reply to: Multilingual: best approachTake a look at WPML. Of the translation plugins i”ve used (3 different sites), this is the best.
It also has an interface for translating static content.Forum: Fixing WordPress
In reply to: adding password protection to custom static templateThis function checks if the user is logged in or not.
https://codex.www.ads-software.com/Function_Reference/is_user_logged_inSee the examples there for more info.
Forum: Themes and Templates
In reply to: Separate get_post_meta data by commas?This is what the database field looks like.
Check ChargeLooks like your content is a string, not an array, in which case you need to use
str_replace()
instead.Forum: Themes and Templates
In reply to: Translate shortcode textHi jasonsweb, you can do it like this:
$shortcode .= '<span>' . __( 'Hello, this text should be translated', 'domain' ) . '</span>'; return $shortcode;
Thanks for posting the bug and fixes
Just to clarify, the above edits are in:
front-end-users > lib > front_end_users.php > restrict_admin_access
Thanks britanik.
So for example, your js might look like this.var data = { action: 'my_ajax_function', id: jQuery(this).attr('id'), }; jQuery.post( MyAjax.ajaxurl, data, function(response) { // do something });
Forum: Fixing WordPress
In reply to: White space above and below image in postAbove the main image
In custom.css, line 216, your header div (div with id=”header”) has it’s height defined by it’s padding. Reduce the bottom padding (in this case 165px) to close the gap:#header { padding: 35px 0 165px; clear: both; position: relative; }
Below the main image
In custom.css, line 301 you have a 15px bottom margin on the main image. Reduce the bottom margin to close the gap:.aligncenter { text-align: center; margin-bottom: 15px; }
Forum: Fixing WordPress
In reply to: Remove Permalink Slug from Custom Post TypeI’d like to see
'rewrite' => array('slug' => '')
work.
/top-level/second-level/third-level/etc
is a common and acceptable reason why this should be possible.(thanks jocke_gbg)
Forum: Fixing WordPress
In reply to: Working on website behind the scenes?If you install WordPress in a subdirectory on your host you can have full access to the site, but it cannot be accessed from your domain root.
You can then make your site available from the domain root with the following process:
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_DirectoryForum: Fixing WordPress
In reply to: How to manage pagesHi, sounds like
wp_list_pages
would answer your needs:
https://codex.www.ads-software.com/Template_Tags/wp_list_pagesForum: Plugins
In reply to: E-Commerce StoreWhich ecommerce plug-in are you using?