Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter monolion

    (@monolion)

    Thanks for the reply.

    Yes, I understand that I can achieve the same via archive-car.php but I prefer the content which will be changed frequently to keep in the db. I also have built some drag&drop functionality via ACF which works on any page/post.

    I thought maybe I can utilize some existing functionality to achieve this?

    The closest workaround is just to create the page with the same url and WordPress picks it up first instead of archive page. I don’t like this solution much because I have to make sure the slug remains the same at all times.

    Thread Starter monolion

    (@monolion)

    Hi,

    I’m aware on how to access ACF field, I’m not sure how to use it to select the page.

    Thread Starter monolion

    (@monolion)

    Thanks for the reply.

    I prefer the main site to answer with 404 if the url doesn’t exist.

    Can I modify the code somehow that when the url is non existent, it would show 404? If it was a standalone WordPress site, it would have behaved like this.

    .htaccess won’t work in this case because it won’t know whether the url exists or not.

    Thread Starter monolion

    (@monolion)

    Hi, Andreas,

    Sorry, if I wasn’t clear enough but I want the links to be updated within the content of the page/post, for example my post content:

    <p>
    lorem ipsum link to some other post
    </p>

    I would like the link (/link-to-post) to be updated automatically after I change the link structure. For example I decide to include the category within the url, so I expect the link to be updated to link to some other post

    I can create the links within the content as shortcodes like [link-to post_id=”5″ anchor=”link to some other post”] but maybe there are more elegant solution than this?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)