Skip to content

u/HappyIssue

In this archive from Sep 2012 to Feb 2019

0
posts
33
comments
0
media
100
score

Got it, thanks. First the good news, WP Core is up to date (5.x.x). For me that is an indication that they take care of the site.

The site is using the Enfold theme. This is a popular theme from Themeforest. If this is good or bad news depends a bit on the use-case.

For nontechnical users it is an easy to work with theme. But if you are familiar with coding and building your own themes you will spent much time customizing it.

3 points

Congrats for landing that job! acing the job interview.

Instead of looking for how to make Gutenberg compatible themes, I advise to focus on learning how to make a custom Gutenberg blocks. The idea of Gutenberg is to make stuff modal, so you can reuse the custom blocks you’re building.

Also, if you want to be comfortable with using WordPress don’t focus purely on Gutenberg for the first months. Go ahead with Gutenberg once you are comfortable with some other fundamentals. In no particular order:

  • Custom Post Types
  • Custom fields (checkout Advanced Custom Fields, or ACF)
  • Writing custom action and filters
  • Customize The Loop
  • The Template Hierarchy (maybe you already know this by now, since it’s an integral part of theme building)

Edit: whoops, thought you already had the job.

13 points

You can't see it because the pastebin file is the raw AJAX response. The AJAX-response is an XML-file with some HTML-markup in the file. If you search in the whole wp-content folder for some mention of new WP_Ajax_Responseyou will find how the AJAX response is created. Please see codex about the function WP_Ajax_Response)

If you can't find any reference of that function please search for wp_ajax_

2 points

But when I inspect element, I see something very similar, but not identical. In fact, the <p> elements are replaced with <li> elements

When I crtl-f <li> I see a big blob on line 59 wich contains the li-tags. But I think my knowledge here is net enough to pinpoint the exact solution :(

But I do think you've gathered enough information to send a support question to the theme maker to get specific pointers.

2 points

houzez_ajax_calls.js makes a call, on line 1973 of that file you can see it parses the response. You need to edit this file to add the extra fields in your theme.

http://www.everasia.com/wp-content/themes/houzez/js/houzez_ajax_calls.js

Does this help?

For some extra pointers, here you can see the AJAX response (json formatted), the meta information is on line 15, 33, and 51. https://pastebin.com/qTyFnFWQ

1 points

The data is pulled from your WP site with an admin-ajax.php request.

http://www.everasia.com/wp-admin/admin-ajax.php?action=houzez_half_map_listings&keyword=&country=&bedrooms=&bathrooms=&min_price=&max_price=&min_area=&max_area=&publish_date=&search_lat=&search_long=&use_radius=on&search_location=&search_radius=&sort_half_map=&security=5759b9a436&paged=0&post_per_page=

Could you disable the caching plugin? That way I can take a look at the original javascript which makes the request and parses it.

2 points

In it’s current state Gutenberg is still not ready to be part of core, but if you compare the current state of Gutenberg to last January it has improved big time. I saw a live demo at WordCamp Rotterdam and many of the gripes I had were fixed.

So my advice is to be critical, but also to take the one star reviews from over a month ago with pinch of salt because there are updates coming out every other day.

1 points

Use the site: https://www.whynopadlock.com/ to identify the unsecure resources.

You should do a search and replace in the database. When you first uploaded an image WP puts a link to file in the database, bij changing the site URL in settings it doesn't change previous stored URL's stored in the database. I recommend the plugin 'Better Search & Replace' for this.

Or you can use the 'Really Simple SSL' plugin as a work around.

Be sure to make a back-up first!

2 points

Managed WordPress Hosting is becoming more and more meaningless, you can almost compare it to “the cloud”. For example, Sitegrounds Managed WordPress Hosting is based on CPanel shared hosting, and they do quite well for a shared platform offering specific WP hosting.

The big question is to find out what exactly falls under the term “Managed”. For me it means that the host is proactively monitoring site performance, and autonomously takes care that everything keeps running smooth.

For features and settings I would say take a look at the WordPress toolkit of Plesk. They are a competitor of cPanel and focusing on WordPress for the last couple of years. That way you can get an idea of the shift from generic hosting panels to integrating features that before only where available at specialized hosters.

3 points

Great to see you've already improved the site speed!

X-Powered-By => PHP/5.5.22

When I inspect the header of your site I still see its running on PHP 5.5.22, so its currently not working correctly.

The blocking scripts for both CSS and JS are explained in more detail over here: https://varvy.com/pagespeed/critical-render-path.html It's a common problem with big themes, the downside of the many features they offer is that it is bloated with a lot of scripts and stylesheets.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.