mcography
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Javascript Not Working in Child ThemeI thought the third example meant that you could use the dollar sign within the “jQuery(document).ready(function(){” wrapper. However, I changed it to
<script> jQuery(document).ready(function(){ jQuery("toggle").click(function(){ jQuery("#abouttoggle").slideToggle(); }); }); </script>and it’s still not working. Any ideas?
Forum: Fixing WordPress
In reply to: Javascript Not Working in Child ThemeAccording to the instructions about no conflict wrappers here, I changed the script to
<script> jQuery(document).ready(function(){ $("toggle").click(function(){ $("#abouttoggle").slideToggle(); }); }); </script>But it’s still giving me an error saying the jQuery is not defined. How do I fix that?
Forum: Fixing WordPress
In reply to: Javascript Not Working in Child ThemeThis is the site I’m working on. Thanks.
Forum: Fixing WordPress
In reply to: Javascript Not Working in Child ThemeI did try to figure out wp_enqueue_script but it didn’t seem to work, and I found it confusing. I will look at it again.
As far as your second comment, yes I understand. It should be “#abouttoggle” not “abouttoggle” right? I fixed that, but it’s still not working. Even if I’m not putting the script in the recommended place (using wp_enqueue_script), shouldn’t it still work if it’s in the head of the document?
Thanks for your help, by the way.
Forum: Fixing WordPress
In reply to: Site Hacked, Want to Rebuild, How to Migrate Posts?Okay, thank you. I’m really just a designer, so this is a little overwhelming for me. I will try to figure out how to de-louse the site using the links you recommended. Thanks for your help.
Forum: Fixing WordPress
In reply to: Site Hacked, Want to Rebuild, How to Migrate Posts?Thanks, esmi. I’ve looked at some of those links, and I’ve decided to rebuild with a new WP installation. My question has less to do with how to clean up a hacked site (since I will be starting fresh) and more to do with how to migrate posts from a hacked site to a new site. Is that possible? Can I save the old posts/podcasts?
Forum: Fixing WordPress
In reply to: Best Way to Redesign an Existing Blog?JohnOHFS: like I said, I’m not really interested in manually reuploading the site’s media files, so it sounds like ServerPress will not be a viable solution.
Snurfer: I’ll look into Duplicator. Sounds like that might work.
It does seem like there should be an easier way to do this that doesn’t involve using a third-party plugin, though…
Forum: Installing WordPress
In reply to: Installed Subdomain, Main Domain Links BrokenNevermind, I visited Settings > Permalinks and everything works again.
Forum: Installing WordPress
In reply to: Installed Subdomain, Main Domain Links BrokenI deleted the new site to see if that would fix the links on my main site, but it didn’t work. I am still seeing ‘file not found.’ I really don’t understand how installing a new site on a new domain could have possibly messed up the main site. Anyone know how to fix this?
Forum: Fixing WordPress
In reply to: Tried to Move WordPress, Site BrokenAlso, now I’m getting an error that says my .htaccess is not writable. Do you know how I can fix that?
Forum: Fixing WordPress
In reply to: Tried to Move WordPress, Site BrokenYou’re right. It should be /wp-content/THEMENAME/. Where do I change this?
I figured it out with help from this post. Just needed a custom function to override the posts_per_page for the work archive.
Thanks again for your help, deep.
Anyone have any other ideas?
Andrew, I tried to implement your suggestion, but that just made each page (mydomain.com/work and all the category pages mydomain.com/project-type/photography, etc.) load the first 5 posts of the work post type regardless of category. So I’m still confused. I really do appreciate you taking the time to help me, though. I watched Nacin’s video and looked at the WP_Query documentation, but I’m afraid it’s a bit advanced for me. I will look at it again to see if I can figure this thing out. In the meantime, if you have any other suggestions, I would welcome them gladly. Thanks again for your help.
Deepbevel, yes the work posts and category posts are both using taxonomy.php. Thanks for your help, too.
Okay, I think I’m getting a little bit closer. I found this page about query_posts which helped me realize that I needed to add
<?php query_posts( array ( 'post_type' => 'work', 'posts_per_page' => -1 ) ); ?>. So now the work page is loading correctly, but all of the category pages are loading all the work posts (because I’ve defined the post_type as work in that snippet I added).How can I generalize the code so that it makes the work page display all of the work posts and the category pages display only the relevant category posts?