zeckdude
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I save the current page title in a variable?I used this
$page_title = get_the_title($post->post_parent);
Forum: Plugins
In reply to: Plugin to upload a photo to a pageThank you!
Forum: Fixing WordPress
In reply to: Why is the WYSIWYG adding a link to my imageThat’s what I was looking for. Thank you!
Forum: Fixing WordPress
In reply to: Image not resizing in WYSIWYGRich ‘elfin’ Pedley,
That was exactly the problem. For some reason, the twentyten css file has it as width: auto.
I will simply change that css in my child theme css file.
Thank you.
Forum: Fixing WordPress
In reply to: Image not resizing in WYSIWYGOtto, according to https://en.support.wordpress.com/images/image-settings/ I should be able to visually change the size of the image in the WYSIWYG editor using the resize control bars.
Why are you so sure that you can only use predefined image sizes?
Forum: Fixing WordPress
In reply to: Image not resizing in WYSIWYGWhy do they include the resize controls in the WYSIWYG editor in the first place then if they don’t have any function?
Do you know of any themes or plugins that have the functionality I am looking for?
Forum: Plugins
In reply to: [Plugin: Multiple Post Thumbnails] Image not displayingI had not placed my code inside the loop for the content for that particular page. Rookie Mistake!
Forum: Plugins
In reply to: [Plugin: Multiple Post Thumbnails] Image not displayingDrew, thanks for the response. I appreciate the help!
I changed the code as you suggested and it didn’t change anything unfortunately.
Here is everything I have done with this plugin:
I am using the twentyten theme as a parent them for a new theme I’m making.
I activated the plugin.
I put this in my functions.php file:
$thumb = new MultiPostThumbnails(array( 'label' => 'Secondary Image', 'id' => 'secondary-image', 'post_type' => 'page' ) );
I put this in my page.php file:
if (class_exists('MultiPostThumbnails') && MultiPostThumbnails::has_post_thumbnail('page', 'secondary-image')) : echo 'This condition is met'; MultiPostThumbnails::the_post_thumbnail('page', 'secondary-image'); endif;
It said ‘post’ before, and I changed it to ‘page’ now, but that does not fix the problem.
I uploaded an image, I can see the image uploads, it adds a new custom field with the name ‘post_secondary-image_thumbnail_id’ and the correct id number(i checked the database and it inserts the image location correctly).
Forum: Plugins
In reply to: Plugin to upload a photo to a pageThat sounds like exactly what I am looking for. Do you know of a tutorial that explains this process?
Forum: Fixing WordPress
In reply to: How do I use the pages in WordPress?The 404 problem was because I had not changed my .htaccess file after creating custom permalinks.
Forum: Fixing WordPress
In reply to: How do I use the pages in WordPress?Thank you for your help!