screener
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: jQuery dialog box not loadingAdding core, widget and button to the dialog worked, thanks:
<html> <head> <script type='text/javascript' src='https://[...]/wp-includes/js/jquery/jquery.js?ver=1.11.3'></script> <script type='text/javascript' src='https://[...]/wp-includes/js/jquery/ui/core.min.js'></script> <script type='text/javascript' src='https://[...]/wp-includes/js/jquery/ui/widget.min.js'></script> <script type='text/javascript' src='https://[...]/wp-includes/js/jquery/ui/button.min.js'></script> <script type='text/javascript' src='https://[...]/wp-includes/js/jquery/ui/dialog.min.js'></script> </head> <body> <div id="dialog" title="Basic dialog">Here is my dialog box</div> <script> jQuery(document).ready(function($){ $( "#dialog" ).dialog(); }); </script> </body> </html>
Honestly not sure whether I will do this, so messy. It does work to enqueue these files as follows, fwiw:
wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-widget'); wp_enqueue_script('jquery-ui-button'); wp_enqueue_script('jquery-ui-dialog');
Forum: Fixing WordPress
In reply to: link is being stripped, how to stop?Fair notice, I actually went back to jkovis’ solution, “add_data_timestamp_attribute_to_anchor”. Thank you again to jkovis.
Forum: Fixing WordPress
In reply to: link is being stripped, how to stop?ended up using the solution here.
Forum: Fixing WordPress
In reply to: link is being stripped, how to stop?adding asterisks to try to fool the editor …
When I try to post this:
*<*a class=”post-handle” href=”#” data-timestamp=”2.09″*>*my link*<*/a*>*The post ends up as:
*<*a class=”post-handle” href=”#”*>*my link*<*/a*>*How can I stop WP from swallowing the data-timestamp=”2.16″ portion?
Thanks,
ted
Forum: Fixing WordPress
In reply to: Custom field not working when writing a PageI was able to add the file to an existing page under a new name, “attached_file”. This file did show up in the wp_postmeta table, and it was accessible through get_post_meta(). So, that is nice.
I cannot, however, create a new page with the now available “attached_file” setting. I have to create a new page, then go back and edit it to included an attached file.
To repeat, the custom field for a new page seems to be broken, to me. I can edit an existing page and add a new custom field after it has been created. This is sufficient for my purposes, but I think there is a bug.
I’m using WP 2.2.2.
Forum: Fixing WordPress
In reply to: WordPress fails with large databasesIt isn’t the database, its how you are making the calls.
Here’s an example: I have 600+ blogs in the blogroll, and the “blogroll” page was way too slow. I limited the number of blogs to 50, and the page now comes up very quickly.
When you work with large amounts of data, the game changes. You have to be careful about how you access the data.
Forum: Fixing WordPress
In reply to: How do I pass a variable through the url in wp?Sorry, to access varA in the following url:
https://myDom.com/myPage?varA=Hello&varB=World
You just call:
<?php echo $_GET[“varA”]; ?>
Forum: Fixing WordPress
In reply to: Link-categories don’t all showsame as nadavkav here …