Forum Replies Created

Viewing 15 replies - 91 through 105 (of 496 total)
  • wpismypuppet

    (@wordpressismypuppet)

    Go to “Appearance->Menus”. If you don’t see “Posts” there by default, then click on “Screen Options” in the upper right-hand corner and check the “Posts” box. You’ll see it now show up under “Pages” to be added to the menu.

    WordPress did change things up a bit with the new update. Best of luck!

    wpismypuppet

    (@wordpressismypuppet)

    @lonchbox… What you are asking to do is not possible because a custom taxonomy can be attached to more than one post type. It would be impossible for WordPress to have a page somedomain.com/sometaxonomy because which posts would it show? From which post type?

    It is really easy to simply create a page that pulls all the posts you are looking for inside a taxonomy. Why can’t you do this in your case?

    And the reason archive-modalidad.php doesn’t work is because archive-whatever is for post types, not taxonomies. So you would instead use archive-carrera.php for your custom post type carrera.

    @jacorre, send me the code you use to make the custom taxonomy and I should be able to help you out. I do that sort of thing routinely, so it shouldn’t be too hard to figure out what’s going on.

    wpismypuppet

    (@wordpressismypuppet)

    Yes, there is a solution. What you are doing, in theory, should work. It might be the way you are creating your taxonomy. I do this on a regular basis and don’t have any issues using taxonomy-custom_tax_name.php, without adding special code or query_posts.

    Here are the arguments I use (I left out the ‘labels’ here as those don’t matter for this purpose, but of course I use those as well):

    $args = array(
    	'public' => true,
    	'hierarchical' => true,
    	'show_ui' => true,
    	'show_in_nav_menus' => true,
    	'query_var' => true
    );

    These few args will set ‘publicy_queryable’ and ‘has_archive’ to true, along with a bunch of other options that need to be set to true. It’s also good practice to create the taxonomy before you create the custom post. Not sure if it really makes a difference, but according to WordPress articles I’ve ready, tax should come first in the order.

    To better assist, I would need to see the code you use to create the taxonomy. Both of you.

    wpismypuppet

    (@wordpressismypuppet)

    What’s the link to your website? Which video from Apple did you pick? I need to see the code outputted on your website to be able to help you better.

    wpismypuppet

    (@wordpressismypuppet)

    Simpler, yes… but you won’t learn that way :).

    The plugins you mentioned will work, if you hosted the images through WordPress. Since you are hosting the images remotely (smart move for bandwidth reasons btw), you’ll need custom code.

    There is no easy answer… and as I’ve said it’s still uncharted territory. We haven’t jumped in head first yet either, but we are currently planning on doing some websites with Retina real soon. Do your research and have another go at it after you get a non-retina site up and running. Good luck!

    wpismypuppet

    (@wordpressismypuppet)

    Here’s another link that has some examples:

    http://ivomynttinen.com/blog/a-guide-for-creating-a-better-retina-web/

    wpismypuppet

    (@wordpressismypuppet)

    You are correct in that they detect the device and offer up a Retina or non Retina version, but you still have to have both versions. All these plugins do is change the URL of the <img> tag to show Retina or regular versions of the same image.

    This is taken from WP Retina 2x:

    • HTML Rewrite: The HTML is rewritten at the very end, and the images are replaced by their retina counterparts if available. Very fast, no 404 errors, but HTML caching cannot be used.
    • Client-side: This method should work in every case. Normal images are loaded first, then the client-side checks for retina images and download them if available. Works with caching but loads 2 images instead of 1. This method uses the Retina.js script.
    • Server-side: Uses a server-handler that decides whether to send the normal image or the retina image. Efficient method, but since the filename is the same either way (as seen from the client-side), it might not play well with services such as Cloudflare or Google PageSpeed.
    • Do you have any other idea? Let me know! 🙂

    Don’t rely on the plugin for advice though, do more research on Retina. Here is a good article to get you started, but you can also do a Google search for “Coding for Retina Display”:

    http://realmacsoftware.com/blog/coding-for-retina-on-the-web

    It’s still a widely unknown area as it’s difficult to “detect” devices and also difficult to serve one image over the other. When you “detect” devices, you cross into the realm of browser/device sniffing and that is highly frowned upon.

    wpismypuppet

    (@wordpressismypuppet)

    Devices support Retina, not websites or services running websites. Retina only means that the device you are using has a certain DPI ratio that can show a ridiculous amount of pixels in a very small space.

    When you are dealing with Retina, you need to optimize images for Retina and dish those images out to the DEVICE. Using a plugin such as the Retina plugins… those plugins attempt to detect if the viewing device supports Retina, and if so, dish them out a Retina version of the image (or a larger, higher DPI version of the image).

    In other words, if you want to support Retina, you must have two version of every image or graphic… one for normal devices and one for Retina enabled devices. Serving up a Retina image for a device that doesn’t support it is not “Responsible” web programming as you are giving over sized images to devices that will never see their true quality and will suffer on performance and possibly cost them a lot of money to download if they have to pay per megabit.

    wpismypuppet

    (@wordpressismypuppet)

    Nice esmi 🙂

    On a side note, the following can be deleted:

    Simple WP Retina
    WP Resized Image Quality
    WP Retina 2x

    Since you are not using WordPress to host these images. These plugins appear to only affect images uploaded through the media library. You are linking to external images, so they do nothing for you. If you decide to move the images from photobucket.com to WordPress, then you should hold on to them.

    wpismypuppet

    (@wordpressismypuppet)

    Very interesting… can you give a list of all the plugins you are using?

    wpismypuppet

    (@wordpressismypuppet)

    My guess is this line:

    if ($menu_to_use) :

    Because your get_post_meta function will return:

    • If only $id is set it will return all meta values in an associative array.
    • If $single is set to false, or left blank, the function returns an array containing all values of the specified key.
    • If $single is set to true, the function returns the first value of the specified key (not in an array)

    If there is nothing to return the function will return an empty array unless $single has been set to true, in which case an empty string is returned.

    Since you are getting an empty string, your if statement still holds true because the variable is set and contains something, even if it’s nothing. Make sense 🙂

    Basically you want to check if the string is empty. Change that line mentioned above to this:

    if( ! empty( $menu_to_use ) ) :

    Which states if $menu_to_use is not empty, or contains something other than:

    • “” (an empty string)
    • 0 (0 as an integer)
    • 0.0 (0 as a float)
    • “0” (0 as a string)
    • NULL
    • FALSE
    • array() (an empty array)
    • $var; (a variable declared, but without a value)
    wpismypuppet

    (@wordpressismypuppet)

    The image I was talking about is only registering at 682px x 1024px. How are you going about pulling the images into WordPress? Are you using the “Get Media Links” option in PhotoBucket and pulling the “Direct Link”? In WordPress, are you adding the picture to the page using the “Insert from URL”?

    wpismypuppet

    (@wordpressismypuppet)

    Well, if you view the source of your website you’ll notice the 3 at the very top of the source file. Directly below that is a ton of JavaScript that sites ABOVE the <!DOCTYPE>, which is a big no no.

    My guess would be to look in your header.php file and see where that JavaScript is coming in from. If it’s in the header.php file, then look for the 3 and delete it (probably a typo). If it’s being included, look for the file containing the JavaScript and find the 3 in there.

    When you remove the 3, move the JavaScript into either the <head> tag, or right before the </html> tag. You shouldn’t have ANYTHING printing out before the <!DOCTYPE>.

    wpismypuppet

    (@wordpressismypuppet)

    First off I can’t see any blurriness that you are mentioning when I check out your website. I do, however, notice that the file sizes of the images on the homepage are rather “low” for 150dpi images. The very first image on your homepage of the woman in the lavender fields is registering at 118.46 KB.

    The problem here, though, has nothing to do with WordPress… you are pulling these images directly from photobucket.com and WordPress does not compress images pulled from another site. It ONLY compresses images when they are uploaded into the media library. However, you are using two plugins mentioned… retina and image quality plugin… and I know nothing of how these work internally. So while testing other repository sites, disable those plugins.

    And though I’m not sure which image quality plugin you are using, the ones I’ve seen only change the quality of compression for those images being uploaded via the media library… so that plugin really isn’t doing anything for you anyway.

    I did a quick search on photobucket.com and there are a lot of complaints from people who have lost a lot of work because photobucket.com compressed their images even when they said they wouldn’t. You might want to try a few different image repository sites first and see if that fixes your issue.

    wpismypuppet

    (@wordpressismypuppet)

    Here is a list of 10 popular jQuery popup scripts… if this helps 🙂

    http://jquerybyexample.blogspot.com/2013/01/jquery-popup-window-tutorial-plugins.html

Viewing 15 replies - 91 through 105 (of 496 total)