ourcore
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Broken theme after 4.8.3 update@t-p Hmm I thought I was in the right place since it’s not a stock theme–I built the template files based on static HTML from scratch.
Forum: Plugins
In reply to: [W3 Total Cache] Website takes almost 5 secs to loadI set the expires, cache control, and eTag headers via W3’s settings, which has brought the site load time back down to 1.84s. It overlooked these as I figured the default settings would be optimal, but that wasn’t the case. Thanks.
Forum: Fixing WordPress
In reply to: Displaying most recent post on static pageAh, that makes perfect sense. Thanks, Richard! I forgot we could use shortcodes in pages/posts, and didn’t actually know that it was this easy to create custom codes, so this definitely seems like the way to go. Should be able to implement it pretty easily. Thanks again!
Forum: Plugins
In reply to: [W3 Total Cache] Website takes almost 5 secs to loadThanks a lot for the advice, but I still don’t really get it.
I’ve added the mod_expires and mod_headers modules to my .htaccess file per this article, and PageSpeed Insights still doesn’t detect browsing caching. More importantly, the website is still painfully slow to load. These are my browser cache settings.
Thanks again.
Forum: Fixing WordPress
In reply to: Displaying most recent post on static pageHi! I’m revisiting this as I keep putting it off when something else comes up.
I’m still unsure a multiple loop is the way to go. If it helps, this is my current home page (static page): https://www.marioparra.me. Glancing over the multiple loop code, I’m not sure how it’d add a post excerpt in between the page content, unless I’m missing something.
The front-page.php template pulls all of this content (“About” section down to “Contact”) from a page by its ID. Basically, I’d like to insert an excerpt of my most-recent post under the “Portfolio” section. If all the content was in the template, I could easily add a loop below said section, but that’s not the case. I also found a plugin that allows me to insert PHP into a page/post, but I don’t want to do this if there’s a better solution without adding any bulk.
I also thought about dividing the content from the page into multiple pages, allowing me to insert loops in between more easily.
Any help would be really appreciated!
Forum: Fixing WordPress
In reply to: Displaying most recent post on static pageThe idea makes sense to me, but I’m still not sure how to put it all together.
Currently, my front-page.php pulls the header, the static page’s content (by page ID), and the footer. All of the static page’s content is in a WordPress page, and since I don’t believe I can insert a loop in the page content, I’m unsure how I would inject a blog post in between the page content. I don’t mean before or after the page content, but literally in the middle of it. Is this where the multiple loop comes in?
Forum: Fixing WordPress
In reply to: Displaying most recent post on static pageIf I use multiple loops, can I control where the content from the second loop is displayed? My main problem is that I want the latest blog post to be displayed in between the static page content. Thanks!
Forum: Plugins
In reply to: [Contact Form 7] reCAPTCHA not displaying on mobile SafariIssue’s still occurring. Anyone have any ideas?
Forum: Themes and Templates
In reply to: Displaying comments in custom themeAh, just found out about <?php comments_template(); ?> after posting this. I’m using the comments.php from a default theme, so I’ll see how I go and come back with more questions or mark it as resolved.
Forum: Fixing WordPress
In reply to: Displaying most recent post on static pageYes, as I mentioned, I’m already using a custom front page template via front-page.php, which is pulling content from a page.
I could easily edit this template to pull the latest blog at the bottom, but I want to add it in the middle–that’s my problem.
Yeah, I figured that later. Since I don’t think there’s a functional issue and I won’t have 20 posts up anytime soon, I’m gonna stick with 3 and worry about styling it for mobile, since it was the main reason I wanted to display 4. Thanks for your help.
Forum: Plugins
In reply to: [BackUpWordPress] Various errors after latest updateThanks for the quick update, guys. Kat, yes, the MySQL error remains after the 3.4.5 update. I’m currently on the Intercom support.
I had more before I changed amount of posts to display. I’m almost convinced it’s the size function that’s breaking something. I now have six published posts with the same category and the Related Posts don’t display, but as soon as I remove the size function, I see the three default posts.
Previously, I had 5 published posts with the same category, and the Related Posts section was displaying as expected, until I added the function to display 4 posts at a time.
Since then, I’ve deleted these test posts and only have 2 publishes posts at the moment. If you think it’ll help, I can make a handful more and re-index them to see if it’s purely because the sample is too small at the moment.
Thanks, Jeremy.
I’ve fixed the first error, but the second is related to another plugin, so I’ll have to report it to its dev. At first glance, not sure what it could be. As a workaround, I deactivated the plugin responsible for this error, which cleared it up, but the Related Posts section still didn’t load.
I installed your plugin and re-indexed my posts, but still nothing.