Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Individual Wordpress Pages

Featured Replies

Hi Everyone,

 

It's been ages since i've touched on PHP/Wordpress, so the following may seem silly - bear with me.

 

I have a WP site. My client wishes to add some additional text on just one of his pages (see page2 attachment). I have already set up a template for the inner pages of the site, so please could you look at the attached mock ups and let me know the most efficient way of adding the 'additional text', on just one specific page.

 

Would I have to create another page template or...?

 

Thanks in advance :)

post-35991-0-51869500-1390323949_thumb.jpg

post-35991-0-29707200-1390323951_thumb.jpg

Im not 100% sure on how WP works but could you not just add a if else statement under the page title checking what page you are on and if its the correct page show the text, seams a little OTT to make a whole new page for one additional element

There are several ways you can do this:

  • A conditional is_page() function (see above)
  • template hierarchy create a page named page-(slug).php
  • a custom template named yourcustomname.php which is chosen from the drop-down menu on the editor page.

If it's just one line the first option would be best and if your client might want to change it back someday the last one would save you some work.

More about page templates

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.