Questions tagged [page-specific-settings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Multiple plugins settings of same developer into ONE settings page linked together

Im quite new to wordpress and plugins. I'm still a student so im still in the learning curve. Thank you in advance for reading my question CONTEXT Each plugin is a plugin on its own but made by the ...
MiYuKuro's user avatar
0 votes
0 answers
58 views

How to add custom settings to the menu of custom post types?

Not sure if this has been asked before. But how can we add custom settings to the menu of custom post types? Or add custom fields for an entire post type and you can edit them? For example: This is ...
Run's user avatar
  • 321
0 votes
0 answers
9 views

Is it possible to have a global parameter page which allows to configure other plugins in the same place?

I have a wordpress mu installation which brings together several different sites for clients and I would like to provide them with a settings page to manage the settings of other plugins. In short, I ...
Gui's user avatar
  • 1
0 votes
1 answer
206 views

Sort by price wpdb

I have a page on my wordpress to search for tires everything works fine but I would have liked to know how to add an extra column to sort them also by price. They can already be sorted by size and ...
Mourcely Quentin's user avatar
1 vote
2 answers
86 views

How to display specific category on single post page?

How can I display only the specific category when accessing the posts related to that category? For example, I want to show only CSR Events under Categories When accessing posts related to CSR events. ...
David Lee's user avatar
0 votes
0 answers
26 views

Encoding matter - ? instead of € after settings field callback

In my plugin I have som classes to manage settings field. For some reason in one moment the setting field value with special characters like 30€ in textarea or input[type=text] change to be 30?. I got ...
J.BizMai's user avatar
  • 820
-1 votes
1 answer
50 views

Page-parent field not appearing in editor [closed]

The drop-down of page parents doesn't appear in some sites as of upgrading to WordPress 5.0.+
Andre Clements's user avatar
0 votes
1 answer
30 views

Assign post category to a page by selecting category from page dashboard

I'd like users to be able to assign a category to a page by selecting from the page dashboard. So when they create a new page they can select the post category they want to be linked and display on ...
user3507500's user avatar
1 vote
1 answer
15 views

editor account in wordpress for content

Is that possible we can give client editor account for the user in admin dashboard without all the functionality? In which client can only change content not moreover that. I appreciate it if someone ...
arun boyo's user avatar
4 votes
1 answer
2k views

Custom user role that can only edit specific (non-custom-type) page and all child pages [duplicate]

My site has several static pages and several custom post types. I'm trying to create a custom user role called students and give students access to ONLY certain custom post types and certain specific ...
nViz's user avatar
  • 43
0 votes
3 answers
166 views

Detecting if I'm on a single, non-post, non-homepage page?

I'm trying to see if I am on a single page, this page is defined by: Is not the homepage for sure. Doesn't have any posts for sure. Here's my code: <?php if ( !is_home() && !have_posts() ...
Daniel Moss's user avatar
0 votes
0 answers
9 views

Setting admin submenu appears only when I cliked on a custom link

I'm doing a plugin. In this plugin I have to add a submenu for Settings. Code : public function __construct(){ add_action( 'admin_menu', array( $this, 'add_setting_page' ) ); } public ...
J.BizMai's user avatar
  • 820
0 votes
1 answer
2k views

Make a single page in WordPress available only for Admin and Subscribers

I'm trying to make a single page only available for administrator and subscribers from the site. I've put the page as private in WordPress admin and tried to allow that only for these two roles using ...
Marcelo Srougi's user avatar
2 votes
2 answers
7k views

How to add specific menu on a specific page or pages

I'm looking for help on how to add specific menu on a specific page or pages with no plugin. I know how to add and register a new menu like this: //* Register third navigation menu position function ...
Konstantin Nikkari's user avatar
0 votes
2 answers
33 views

How can I switch pages?

I have website for local restaurant and for menu there are separate pages (ex: salads, soups etc). Right now the second restaurant was opened and it has a separate menu. What I want to do is to ...
moonvader's user avatar
  • 322
2 votes
2 answers
839 views

Hide the Private prefix on one specific page

Trying to conditionally hide the "private" prefix in front of the page title on one specific page named 'members' only. I used this code in functions.php to hide the prefix on all pages. function ...
nicklas bryntesson's user avatar
0 votes
1 answer
32 views

How to use Specific URLs for some posts

I'm using the below format for permalinks in my blog: example.com/post-name Now I need to host a giveaway on the same blog and want to make a permalink structure like this: example.com/giveaways/...
Rahul Kumar's user avatar
0 votes
1 answer
833 views

How can you wrap add_filter with a if is_home() statement?

I have the follow code: if ( !function_exists( 'df_excerpt_more' ) ) { function df_excerpt_more( $more ) { return ' &hellip; <a class="more-link" href="' . esc_url( get_permalink( ...
beliy333's user avatar
10 votes
4 answers
46k views

How to load JS and CSS only on specific Pages using is_page()?

I am building my first WP plugin, it should load some JS and CSS files only on specific pages selected through a form available in the plugin Admin area. Once selected in the form, Page Title gets ...
RaymondMik's user avatar
0 votes
1 answer
599 views

Load specific js & css based on class or ID?

I noticed that there are many tutorials on how to load specific JS & CSS for a specific page. The problem I have is that sometimes my plug-ins load on specific posts and specific pages. I cannot ...
BigRedDog's user avatar
  • 113
5 votes
3 answers
10k views

How many Wordpress SQL Queries per page?

I am on a shared hosting which has a limitation at MySQL queries per hour. My shows unable to connect to database because of this. Can anyone tell me how many queries are per page on a wordpress site ...
MM PP's user avatar
  • 153
1 vote
2 answers
6k views

Missing parent page attribute

Suddenly the parent page attribute is missing on the page edit view. I'm using Wordpress 3.9.1 and the newest Avada theme. The parent attribute has worked. Now it is not shown as page attribute. I've ...
Robert Moszczynski's user avatar
0 votes
0 answers
127 views

How to exclude page in pages module

Site has page with url http://example.com/mywpsite/mypage Pinboard theme is used. Pages module shows this in left sidebar. How to remove it from this? Pages module setting contain field excluded ...
Andrus's user avatar
  • 111
-1 votes
2 answers
7k views

Woocommerce product page is not showing custom css [closed]

I am using woocommerce plugin for wordpress to make an eCommerce website. It is working fine with little bit customization. As I have configured shop page as the default product page so that in that ...
user159377's user avatar
1 vote
1 answer
4k views

how to call a function only in specific pages and exclude it from other pages

I have the below functions require_once(GABFIRE_FUNCTIONS_PATH. '/review-options.php'); require_once(GABFIRE_FUNCTIONS_PATH . '/custom.php'); require_once(GABFIRE_FUNCTIONS_PATH . '/shortcodes.php'); ...
heradius's user avatar
2 votes
2 answers
2k views

Can I create a page template, use it once, then hide/remove the option to use it again?

I am working on a WP theme/project that includes several custom page templates that will only be used once each. For example, there is a page with a map and search form for finding things on the map. ...
Kirkland's user avatar
  • 298
2 votes
1 answer
108 views

Add page title as a javacript variable to specific posts

I'm very new to WordPress and I'm sorry if this question may sound ridiculous. I need a way to add the post title into it's content, only in specific posts, and not always at the same place in the ...
I.G. Pascual's user avatar
0 votes
1 answer
320 views

How do I choose not to display the title header on a specific page?

I would like to have one specific page on my WordPress blog omit the header . Is there a way to wrap that title code from page.php in my WordPress theme in an if clause that specifies the page I do ...
macreator's user avatar
0 votes
2 answers
203 views

Suggestions for allowing basic users to view their own posts?

I have a client that needs to give access to her clients certain documents. She wants the ability to give them user name and password, so once they log in, they go directly to their page or post which ...
Diventare Creative's user avatar
0 votes
3 answers
193 views

list child-pages as normal pages?

wp_list_pages('title_li=&depth=&exclude='); lists all pages of my site. If there are childpages of a certain page the output looks like this: <li class="page_item page-item-2"> &...
mathiregister's user avatar
2 votes
2 answers
3k views

Loading Scripts on Specific Pages

In child theme I created a functions.php file that loads scripts and style files, the code is below. The section that loads libraries and scripts to all pages other than admin, in other words the ...
dorich's user avatar
  • 177
1 vote
4 answers
230 views

Finding the page id

I'm not sure if I'm blind here, but short of digging directly into the database tables, where would I find the database id for a post or a page?
baldy's user avatar
  • 188
6 votes
7 answers
19k views

Is there a way to force ssl on certain pages

I want to force a secure connection on some of my pages (ones with forms), but I don't want the whole site to work with ssl (slows it down) Is there a way to configure specific pages to require ssl?
Sruly's user avatar
  • 945