mgkoller
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Show content from single.php in category.phpFirst I already have a “fresh, unpacked” copy of twenty twelve, second I’m not even going to use twenty twelve as a parent theme. (I’m using – https://underscores.me/), thirdly I’m working in MAMP so a hosting problem wouldn’t even be possible.
To go back to the original question I assume using
get_template_part( 'content', get_post_format() );
I have to add the custom field code into the perfect block of code specific to the archive page, would it be<?php if ( is_single() ) : ?>
in content.php?Forum: Themes and Templates
In reply to: Show content from single.php in category.phpI didn’t ask whether editing twenty twelve is good or bad (I have it backed up anyways), I also didn’t ask about using unnecessary plugins like a css editor plugin (using Less/Sass is much better). Also I’m testing this locally not in production.
I just want to know how I can use
get_template_part( 'content', get_post_format() );
(which calls content.php) instead of hardcoding a php construct inside the category.php loop.I’ve gotten this to work by modifying the “single.php” in my theme (twenty twelve)
I call the function in <header class=”entry-header”><a href="https://<?php echo get_post_meta($post->ID, "user_submit_url", true); ?>" target="_blank"> <h1 class="entry-title"><?php the_title(); ?> </a> <br /> <!-- Inserts the submitted url to the title -->
Forum: Hacks
In reply to: Displaying the Date on Future postsThanks for the responses, I’m using this plugin https://www.ads-software.com/plugins/the-future-is-now/ and this
the_date() has to be used within the loop; i.e. somewhere after the line with ‘while’…
The date is working, I just need to configure the output so it displays above the title in the Category Archive.
Forum: Hacks
In reply to: Display Categories and Posts on PageThank You, I also got the categories to work by using the https://www.ads-software.com/extend/plugins/widgets-on-pages/
I am getting a 404 error, after testing each type of permalink in WordPress and re-saving it. How does one change this?
Please use a different slug like the-portfolio for the post type or change the slug (permalink) of the page.
No matter how many different permalinks I change inside the settings in WordPress, “portfolio” is always auto generated and used.
Forum: Plugins
In reply to: [Sidebar Login] sing %username% in redirect?Sorry to hijack this thread but I think my problem relates.
I’m using the Sidebar login Widget in Buddypress, I would like to redirect the Dashboard and Profile links to “members/USERNAME/” and “members/username/profile/” So I need to change
Links (Text | HREF | Capability):Dashboard | %admin_url% Profile | %admin_url%/profile.php Logout | %logout_url%
I don’t know what these Buddypress %username% functions are called. Any ideas?
Forum: Localhost Installs
In reply to: Mamp redirects problemSo every time I run Mamp and view phpMyAdmin I get the
“phpMyAdmin – Error”
I delete my cookies and PhpMyAdmin works. I shouldn’t have to delete my browser cookies every time I want to run Mamp, anyone else experiencing this problem?Forum: Localhost Installs
In reply to: Mamp redirects problemResolved
Cleared out my cookies and everything is working.
Forum: Localhost Installs
In reply to: Mamp redirects problemWhen I try to access phpMYAdmin I get this error
phpMyAdmin – Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Forum: Plugins
In reply to: [Achievements for WordPress] Achievements plugin update errorResolved
Go into your Dashboard -> Jetpack -> WordPress.com Stats and click the configure button. Check “Hide the stats smiley face image.”
Thanks for the quick response!
Sill get undefined results
Bump!
I was using Buddypress Checkins and the layout was all messed up. So I used lindevi’s fix in
bp-checkins.php
bp-checkins-place-single.php
bp-checkins-place-home.php
Found in the the bp-checkins > templates folder. The layout is working now. If I’m not mistaken, editing any buddypress plugin’s “plugin name”.php , “plugin name” single.php, and “plugin name” home.php, will fix the layout problems in the Frisco Theme.