Devin Price
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Portfolio Press] Navigation Next / Previous not showing upI’ve never seen a 406 error code before and had to look it up. It looks to be a server configuration issue. This post gives some insight: https://www.tipsandtricks-hq.com/apache-mod-security-update-how-to-fix-error-406-or-not-acceptable-issue-259
Forum: Themes and Templates
In reply to: [Portfolio Press] Stretch SidebarYou can add some custom CSS to override the default styles. I also have a couple other themes with fixed with sidebars if you want to see how that works: https://devpress.com/themes/gather/
Forum: Themes and Templates
In reply to: [Portfolio Press] Navigation Next / Previous not showing upThe option was added in the last release. Look in the “General” options.
Forum: Themes and Templates
In reply to: [Portfolio Press] Slideshow option for GalleriesYes. Install the JetPack plugin and activate the carousel module.
Hi Dirk. I am not seeing the issue on your site. What browser are you using?
Can you clear your browser cache and see if it is still an issue?
Forum: Themes and Templates
In reply to: [Portfolio Press] Customizer Infinite Loop!!!Hi. Thanks for reporting the issue. I found the bug and an update should be out shortly.
Forum: Themes and Templates
In reply to: [Portfolio Press] Bug in v2.6.0 archive-portfolio.php on line 45Thanks for reporting the issue. I just committed the fix and a new release should be out shortly: https://github.com/devinsays/portfolio-press/commit/c14f445782937aba7c24c5fd111cb8f24ca2744a
Forum: Themes and Templates
In reply to: [Portfolio Press] Update – Footer-defectOne of the updates made the footer sticky in most browsers (Chrome, Firefox) using Flexbox. Try switching back to the parent theme and see if that works for you.
Forum: Themes and Templates
In reply to: [Portfolio Press] mobile responsiveness not workingHi. Thanks for reporting the issue. I’m not sure why the images are rotated, but the odd stacking is definitely a bug in the theme. I’m working on a fix which should be out shortly:
https://github.com/devinsays/portfolio-press/issues/105Forum: Themes and Templates
In reply to: [Portfolio Press] Add Border to Thumbnail ImagesThis works for me:
.portfolio-view .hentry img { border: 10px solid #000; }Forum: Themes and Templates
In reply to: [Portfolio Press] Can't disable comments on pageI assume you did that under “Settings > Discussion”? When you check that it only applies to new posts/pages.
To turn off on existing posts/pages, edit that item and uncheck “Comments” under the “Discussion” section. If you don’t see that in the post admin, check your “Screen Options”.
It’s also possible to disable ALL comments with a plugin. I wrote about that here:
http://wptheming.com/2015/01/turn-off-comments/Forum: Themes and Templates
In reply to: [Portfolio Press] one thumbnail suddenly not resizedLooks like it is 404ing at the moment. This theme will resize to proper height or width, and then hard crop anything that overflows.
In some cases you might need to upload a different image for the thumbnail than you insert into the post. If this happens consistently, there is an option to turn off the automatic display of images in the post- and you can insert them manually instead.
Forum: Themes and Templates
In reply to: [Portfolio Press] The page is blockingWhen something like that happens, try disabling all your plugins. Perhaps it is a third-party javascript issue.
To change colors, you’d need to use some custom CSS. Or, take a look at Portfolio+.
Forum: Hacks
In reply to: publish_future_post not runningIf you do need that functionality, just let me know. I can probably code it up pretty quick.
Forum: Hacks
In reply to: publish_future_post not runningOkay, tested a few more things. Try this one:
function prefix_transition_post_status( $new_status, $old_status, $post ) { $stickies = get_option( 'sticky_posts', array() ); $new_sticky = isset($_POST['sticky']) && $_POST['sticky'] == 'sticky'; if ( 'publish' == $new_status && ( in_array( $post->ID, $stickies ) || $new_sticky ) ) { update_option( 'sticky_posts', array( $post->ID ) ); } } add_action( 'transition_post_status', 'prefix_transition_post_status', 10, 3 );This will catch when a new post is published or a scheduled post is published.
However, if you have other scheduled posts that are also marked sticky, it will remove the sticky marking from those. Very annoying that WordPress puts this in an option table rather than just post meta.
The only workaround I can think of for that is:
1) Check if there are any posts in the $stickies array.
2) If so, remove the current $post->ID from that array if it exists
3) Query all the remaining sticky posts
4) If remaining sticky posts are not published, add them to a clean $new_stickies array
5) Add the current post to the $new_stickies array
6) update_option( ‘sticky_posts’, $new_stickies );Make sure that is all wrapped inside the “if” conditional, so it only gets run when a new sitcky is being published.