Forum Replies Created

Viewing 15 replies - 181 through 195 (of 518 total)
  • ACF plugin stores data either as WordPress post-meta(= custom field) or WordPress options. A lot of folks do say, compared to some super-robust data structures, they are less than optimum. But this is the WordPress way, options, posts and post-meta , users and user-meta, are the primary data structures.

    The way I understand, some acf query functions are resource heavy, mostly just wrappers around the underlying native WordPress functions for simplicity to non-programmers. I typically use instead the native functions.

    Yes, there is a way to create multiple custom menus. It might require some php programming or some plugin to get them into the different pages (under the scenario i first wrote).

    After reading your response and the first post again, your scenario could well be accomplished using multisite with domain mapping/forwarding, the same WordPress theme would be used on all sites (or they could be different). And the separate menus and separate news feeds would be a breeze with multisite separate sites.

    You are welcome. Although I don’t understand completely your English, I would suggest the following references:

    https://codex.wordpress.org/Moving_WordPress

    http://codex.wordpress.org/Changing_The_Site_URL

    Good Luck

    You are welcome.

    Advanced custom fields plugin

    Is excellent, you might need the pro version to get the most out of it.

    I would think you should think not in terms of building one single page.

    Instead explore the concepts of WordPress custom fields and custom post types and custom taxonomies. Numerous references are available within http://codex.wordpress.org/ … If you create the objects according to codex best practice, WordPress will handle all the SQL for you.

    Also, I think a skilled php developer new to WordPress would benefit greatly by studying the WordPress loop. https://codex.wordpress.org/The_Loop

    Good luck

    Forum: Fixing WordPress
    In reply to: General Slowness

    You are welcome, It seemed to load fairly fast for me. Often the load speed is more about the host and the browser’s connection to the host than it is about the WordPress.

    You are welcome. I would think this easily could be accomplished with one WordPress. Multisite / multiple databases is way too complicated for what you have described.

    Here’s just one possible scenario:

    Build the WordPress under whatever domain presently is the landing page. let’s say it’s example.com

    Build your new landing page as the WordPress front page.

    Build the two new property pages in the WordPress: example.com/property1 and example.com/property2

    Forward the two property domains to the respective WordPress pages:

    property1.com => example.com/property1

    property2.com => example.com/property2

    Depending exactly what you mean when you write “news feed”, you might need to get creative to have different one on each property page.

    You are welcome, seems to be a question for bluehost. Have you asked them?

    Please, @pwdiane why don’t you post your proposed modifications prior to actually performing them? I don’t think any of us mind answering a direct, well-formed question. For me the more annoying part is trying to figure out what you did wrong when repeatedly ad nauseam you don’t remember or don’t tell us and post merely the symptoms.

    You are welcome, no apology needed, accepted nonetheless. To be as clear as possible:

    I had used the /wp-login earlier in the process of previous work and it had worked.

    This is highly unlikely.

    my admin page had to be accessed by: http://im.mikediane.com/wp/wp-admin

    Yes, because the install is in /wp/ the admin must be addressed there, either as /wp/wp-admin/ or /wp/wp-login.php

    I didn’t understand was why my site could be addressed at: http://im.mikediane.com

    This is possible because we put /index.php in the root and properly edited it. EDITED after I wrote to the end: I take that back it appears you have deleted the /index.php @pwdiane YOU ARE ON THE WRONG TRACK AS OF 22:09 EDT You better stop messing with it right now. Or are you just messing with me?

    However, because we could not modify the site_url option without breaking everything, any further clicks into the site first addressed at the root would necessarily include the /wp/ installation path. It’s no big deal, that’s the url previously you have published, right?

    Further the site is addressable at /wp/ because that is where we rebuilt it and is present /wp/index.php

    I got really frightened when you said “The caveat would be that your site likely will break if you ever switch themes or allow update theme twentyfifteen to a new version.”

    This is really no big deal. You like TwentyFifteen? don’t switch! Want to upgrade its version? First keep a copy of the functions.php and put lines 2 and 3 into the new functions.php after the upgrade is done. Better yet, save a local copy of functions.php right now, just in case it auto-upgrades without your knowledge or consent.

    see if I can get it all back and running on the /wp subdirectory

    As far as I know, your site is up and running at /wp/ just as it always was before you started the other topic.

    For the sake of kindness and clarity I will attempt to answer your 3 questions directly. ( Nobody can eat just one ;| )

    I do have a question though, even though the functions.php and perhaps the config files and index are broken beyond repair,

    None of these 3 files appear the least bit broken.

    The db seems uncorrupted and I would like to use Theme Twentyfifteen.

    The database seems OK. And you are using theme TwentyFifteen, right?

    Can I put a fresh wp install on a different subdirectory and use the same db?

    Yes, you could, but I would advise not to try it again. That was exactly my suggestion in post 41. And for whatever reason resulted in what I referred to as a illegitimate “mixed installation” in post 91.

    And everything we subsequently attempted was first to consolidate the mixed installation into a bonafide legit installation in the subfolder /wp/. This was accomplished first at post 148. You wrote:

    Yay!!!

    Will this overcome the problems I have been having since I tried to redirect from a subdirectory to the root directory?

    Beyond post 148 we attempted what I call a “virtual relocation” ie remove the installation path /wp/ from the site url … So we took care of copying the /wp/.htaccess and /wp/index.php and editing /index.php … and we found that both the /index.php and /wp/index.php were all good at post 163. You wrote:

    Ah, it’s magic!!!

    But we still had not removed the /wp/ from the site url. All subsequent attempts to do so were confounded by what I now believe are leftover junk files in the root remaining from the mixed, double, “over”-installation way back starting at post 41. I requested, and you enumerated the root files in post 184.
    https://wordpress.org/support/topic/changing-directory-now-cannot-get-into-admin/page/7?replies=186#post-6971527

    So there’s some answers and a recap. I’m going to stop now and give anyone else who might be interested a chance to chime in.

    When you mark it resolved (the other topic) you acknowledge no unresolved issues. So by mentioning unresolved issues here you have gotten off to a really bad start.

    I can only access my admin page by using, http:im.mikediane.com/wp/wp-admin. (/wp/wp-login returns a 404 error)

    This is the only well-defined issue you stated here. And the reply by @claytonjames is spot on. Vaild dashboard login url is http://im.mikediane.com/wp/wp-login.php or http://im.mikediane.com/wp/wp-admin/ and NOT the one you tried that returned a 404. He solved the problem you stated, you should mark this topic resolved.

    Perhaps my suggestion for you to start this topic was in error. Everything we did is there in the other topic, and more, including the answer to your last previous question here, which indicates limited understanding of what all we did throughout almost 200 posts in that topic. Bottom line over there, we solved the problem you stated in the very first post, hence it is resolved.

    If you want to attempt again whatever your objective that caused your problem there in the first place, I’m going to suggest at this time for you to spend some time and study that topic carefully all the way through yourself, instead of expecting someone else to do it.

    Good Luck

    In post 181 you wrote:

    Everything is back up and running.

    You reasonably should at this point mark the topic resolved and put it to rest. The caveat would be that your site likely will break if you ever switch themes or allow update theme twentyfifteen to a new version.

    To clear the caveat and attempt get rid of the /wp/ url suffix, you might create a new topic in the how-to forum. And reference this topic. And accept no generic responses that obviously have not read this topic.

    If you do mark this topic resolved, I might post here some further ideas how to proceed. If I do post here again it will be my last post in the topic. I need to move on and attempt help some others.

    You are welcome for the many thanks throughout. And I thank you for a valuable learning/teaching experience for myself. There is a website listed under my member profile.

    There’s maybe some leftover junk in the root:
    How many .php files in the root?
    Is one of them /wp-config.php ?
    List the files not .php each on its own line please.

    ___
    Or maybe some extra lines in /wp/wp-config.php
    Show me the bottom part starting on about line 64 like below. Be sure not to show me(everybody) any database credentials usually but not necessarily near the top and down to line 62.

    here is typical starting at line 64:

    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_DEBUG', false);
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    ___

    OK put back the suffix on line 2

    <?php
    update_option('siteurl','http://im.mikediane.com/wp');
    update_option('home','http://im.mikediane.com/wp');

    Ok try it without the 2 leading forward slashes on line 3

    <?php
    update_option('siteurl','http://im.mikediane.com');
    update_option('home','http://im.mikediane.com/wp');

Viewing 15 replies - 181 through 195 (of 518 total)