I have a wordpress site that i've been working on that has some pages (as in NOT posts) that a client changes content on in order to target particular keywords. these pages have been using podscms for content management.
The client now wants to be able to duplicate these pages any number of times and edit the text within them. So basically, he wants to be have a dozen or so versions of about 4 linked pages.
Does anyone know if it's possible to duplicate an entire multipage structure like this in WP?
Or any WP driven sites that implement segmentation similarly?
I think your best bet would be to use Page Templates. You define them in the theme and then for each Wordpress page you create, you can select which page template you would like to use for the page. This sounds like what you're trying to accomplish.
Related
I am working on a WordPress site using the Presso theme. The site is set up with an API that generates content. I am using the Gutenberg editor to create custom page layouts and then grabbing content by querying by tag or category. I need to create over 100 pages that have the same layout and all query data by different tags. Does anyone know a good plugin or method to accomplish this?
I tried using the MPG plugin, but I can’t change the content by tag query and the Bulk Pages plugin just creates a bunch of pages that I need to style individually. I also have the a plugin to copy pages, but that is going to be difficult when pages need to be edited later
I'm making a website in WordPress, and I'm using a plugin ACF PRO. I'm doing the entire site with flexible content, so the WordPress site is like a page builder.
Everything is fine, however, I came to a point where I need to have same functionality for single-[custom-post-type], so I can "Add row", header, footer etc... on it, but I can't figure out on how to do it.
I know that it's possible, because e.g if you look at this site here: https://rolleragency.co.uk/our-projects/
You can see that it works. I know they are using flexible content because I worked on that site and I did there what I wanted. I can't remember how to do that.
I think I had to use a Tempate Page? Or? I can't remember.
THe site is built entirely on flexible content, so everything there is modular and it's like a drag and drop, but how do I do that on single-slug?
You have to create a page template, yes.
So something like page-projects.php then in WordPress admin you would have a page called Projects.
The template you created should be automatically applied to this page. If it doesn't for some reason you can choose which template WP should use on the right side when editing a page.
Now, you can add whatever code you need to the page-projects.php. And also any fields you may need for that page you can set up in ACF by telling ACF to apply those fields to pages that use projects template.
This is how I would and did do it on several occasions :)
I inherited a implementation of Gallery2 embedded in a Drupal site. I need to change the url of the page this is on from /gallery to /somethingelse.
Drupal is not something I am very familiar with, but I've done some stuff here and there with it years ago.
The /gallery page is not listed anywhere in the admin interface and the content is living in page-gallery.tpl.php.
A 301 redirect is going to be necessary (which I do know how to do), but that isn't the solution I'm looking for obviously (just to avoid getting that answer). Is there any simple way to change this url?
First you will have to understand how drupal handle URLs & generate a page based on it. There are several way to have a URL in drupal, where you can navigate from somewhere.
Usually we make page(add content) of some content type, which you create before with all the required fields. Drupal give serial node number to all newly created page, so to have your own custom URL, you will need to use PATHAUTO module, which will create URL based on title of the page, though you can modify at time of creating page.
We create listings of some things e.g. images for gallery by help of VIEWS & we can create page for the listing. We get to give URL for the page, which you can edit any time.
We declare URLs in our custom module under hook_menu(). Other contributed module also do the same & that's why you get some pages when you enable the module.
Apart from page content, drupal have block system. A block can contains content, image, links etc & display of it can be set to all pages as well as any specific page. So there is no limitation for you to make your page with the URL which you want if you are using PATHAUTO module. If you have listing from views or code which is generating page, then you can always go there & change.
So, I'm relatively new to Drupal, and I'd like to make a Drupal site with a front page with a grid of links to other commonly used pages on the site. This site is intended as a sort of community page for a small town, so it would be links like Government, News, Business Directory, History, Forum, etc.
Some of these pages are basic pages on my Drupal site, some are external links, and some are links to views or modules, like the aggregator module. I'd like all of the links to be sortable and generally have the same markup. I'd also like these links to be gathered automatically, i.e. via the 'Promote to Front Page' option or something like that. I ABSOLUTELY DO NOT want to hardcode this to a basic page.
So far my solution has been to create a view with a list of title fields from pages promoted to the front page, and a special content type I named 'Link' which are actually just redirects to external urls. The problem now is that I don't know how to include special pages, like aggregator or view.
Any ideas? Is there a better way to do this? Have I missed something?
The easiest way to do this is as follows.
Create a content type called link with a link field on it.
Create a page view that displays all content of type link and displays the field link
This is a very basic way of doing it, if you wanted more than one list on the page then that would depend on the theme you are using and the links would need to be categorized in someway using taxonomy.
You may also want to look at the flag module.
I was tasked with migrating a CodeIgniter Site to WordPress in order to allow interns to edit the pages. Some of the pages have extremely complex html structures. I saw a video where additional textareas were added to the Edit Page page and each textarea corresponded to a specific div on the page. If I could duplicate this, the interns could edit small chunks of the page at a time rather than crippling the entire page due to carelessness. They've done this twice already and the WordPress site has been up for three days.
I tried to google for this but since I don't really know what they are called, I was unsuccessful. I am looking to be pointed in the right direction here -- I can do the research.
You could do this with custom fields http://codex.wordpress.org/Custom_Fields
The advanced-custom-fields plugin, for example, gives you plenty of possibilities for adding custom forms on your post pages using textareas and whatnot
http://wordpress.org/extend/plugins/advanced-custom-fields