hotwebideas
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Very Slow Localhost config (Too slow too work)Don’t be fooled by the fact that MAMP is slow on Windows. It is also very slow on Mac as well which is ironic. LOL
Forum: Developing with WordPress
In reply to: Showing only custom WP-CLI commands and not built-in onesThank you @prashantvatsh – There has to be a way LOL – Maybe a command itself within WP_CLI
Forum: Networking WordPress
In reply to: htaccess change not taking effect.Nobody has an answer?
Forum: Networking WordPress
In reply to: htaccess change not taking effect.Thanks, Jose, if I have 20 sites in the network, then that solution would not be practical. The siteN just substitutes the site name from the database, not the site ID, but my problem is that I still cannot get the Media URL to be rewritten regardless of what is in the htaccess.
Forum: Networking WordPress
In reply to: How to change the Media URLThanks, Jose. I am going to try the htaccess.
Forum: Fixing WordPress
In reply to: WordPress site just showing RSS feed and not home pageThanks. Before I opened this post on the forums, I did what @jnashhawkins said renamed my plugins directory to _plugins, but no luck. I will Steve said and rename the current themes folder to default to the twenty theme.
I will report back afterwards.
Bruce
Thanks, Angelo. I fixed it.
Bruce
ok
Thanks caimin_nwl, let me check with all the plugins deactivated and I will get back to you.
Bruce
To the plugin developer, can you please tell me why this has happened? I have not been able to edit the events for the past couple of weeks as the only links that are there in the menu are Settings and Help. The other links are not displaying. How can I fix this?
Thanks for your help, Angelo, I know about the normal next and previous links, but I was hoping that Event Manager had a placeholder for them like there are placeholders for everything else on the site.
If I understand correctly, you are telling me that I can use the normal next and previous links and they will work with your plugin? Is that correct?
Bruce
Forum: Developing with WordPress
In reply to: WP Rest API, Not Showing JSONThanks, Denzel.
Forum: Hacks
In reply to: Help Adding a Form with Blue Button to Media Uploader with media_upload_tabsbcworkz, this is still not working. I am having issues accessing content with the media_upload_tabs hook with jQuery. I have no trouble accessing HTML elements in the DOM outside of the iframe that the media frame creates.
This is my simple code which I found online, but the people who write these do not complete the tutorial. Most of the help on sites like stackoverflow, etc seem to just stop in the middle when it comes to this subject:
// add the tab function my_upload_tab($tabs) { $tabs['mytabname'] = "Iframe"; return $tabs; } // call the new tab with wp_iframe function add_my_new_form() { wp_iframe( 'iframe_form' ); } // the tab content function iframe_form() { echo media_upload_header(); echo '<input id="iframe-content" type="text" />'; echo '<input id="btnSaveMedia" value="Save" type="submit" />'; } add_filter( 'media_upload_tabs', 'my_upload_tab'); add_action('media_upload_mytabname', 'add_my_new_form');
In Inspect Element in Google, I see the HTML:
<div class="media-frame-content" data-columns="8"><div class="media-iframe"><iframe src="https://rockettes.loc/wp-admin/media-upload.php?chromeless=1&post_id=10891&tab=mytabname"></iframe></div></div>
Under this iframe that is generated by the media frame, I have a form element <input id=”iframe-content” type=”text” value=”today”><input id=”iframe-submit” type=”submit”>
Using jQuery, how can I access this form element #iframe-content? I have tried several techniques in jQuery and cannot access it no matter what I try. I have even tried `var $iframe = $(“#iframeID”).contents();
$iframe.find(‘#iframe-content’);`with no luck. I just get no value, even though the default value is “today”.
Thanks for your help.
BruceForum: Hacks
In reply to: Help Adding a Form with Blue Button to Media Uploader with media_upload_tabsThanks, BCWorkz. I will try it.
Forum: Hacks
In reply to: Help Adding a Form with Blue Button to Media Uploader with media_upload_tabsNobody has an answer to this?