Forum Replies Created

Viewing 15 replies - 121 through 135 (of 148 total)
  • Very nice! Glad I was able to help.

    If I understand correctly, then I believe so…but please don’t shoot me if I am wrong, haha.

    It has been a while since I used it, but when I did I remember being able to disable things such as users being able to set the category, or the date or the post status, etc.

    You could try moving it to the front end? that way you have absolute control over what shows and what doesn’t.

    For example, I have an area on my current hobby-project where a user can create a post through a front-end dashboard.

    The only thing they have access to do to the post is Upload the featured image, set a title, and then add the post content. (No “Kitchen Sink” Access, No Category setting, none of that stuff) and then the post is sent to my email for me to approve or delete.

    Try regenerating the thumbnails using this plugin:
    https://www.ads-software.com/plugins/regenerate-thumbnails/

    If that is not what you are looking for, may I get a few details about what you are trying to accomplish? In what way does your client want the thumbnails generated?
    Will CSS, and an outter wrapper work? You set the size of the container, with overflow hidden and then set the size and position of the image to your liking, to where it looks cropped.

    https://www.ads-software.com/plugins/advanced-access-manager/

    Try that on for size…it is what I have used in the past.

    WordPress stores page content in a database. That is the whole purpose behind wordpress, is content management. Content management is achieved through databases ??

    So in order to access the text, you would go to
    https://www.clientsfirst-us.com/california/wp-admin

    Then you would login

    Then you would head to the “pages” tab on the left.

    Then find the page with the content (I would suggest looking for “home”)

    If by chance the data is not within the pages, or posts for that matter, then try the template files
    (index.php, page.php and then maybe something like home.php)

    On my site, when I made a front-end login box (instead of having the user go through wp-login.php), it simply refreshed the page with them logged in.

    I added this where my front-end login box was.

    <?php $args = array(
            'echo' => true,
            'form_id' => 'loginform',
            'label_username' => __( 'Username' ),
            'label_password' => __( 'Password' ),
            'label_remember' => __( 'Remember Me' ),
            'label_log_in' => __( 'Log In' ),
            'id_username' => 'user_login',
            'id_password' => 'user_pass',
            'id_remember' => 'rememberme',
            'id_submit' => 'wp-submit',
            'remember' => true,
            'register' => true,
            'value_username' => NULL,
            'value_remember' => false ); ?>
      	 <?php wp_login_form($args); ?>

    As for registration, I just made a target=”_blank” Link in the registration box, so that the registration opened in a new window. (that way they do not lose their place, and they can still go through all of the registration steps).

    And for commenting: I would highly recommend using Disqus. Takes maybe twenty minutes to set up, you can set it to where the user has to have an account with your site before they can post, and it takes care of all of the little stuff that otherwise would take you hours to do.
    https://disqus.com/admin/wordpress/

    While viewing source (you mentioned you saw them being loaded in the body)
    click on one of the scripts to open it. This will either open a view source on the script, showing that it is, in fact, being loaded, or it will show an “file not found” page, meaning it is calling the wrong file path and it would be a problem with your above function.

    If you click on a script and it is, in fact, loading properly, then maybe check the syntax of the scripts themselves.

    One problem I used to run into with jquery:
    When loading jquery in wordpress you have to alias jquery by doing the following:
    Switch the initial
    $( document ).ready(function() {
    with this.
    jQuery( document ).ready(function( $ ) {

    For the blog page, my best guess would be heading into “Settings” > “Reading” > ‘Posts Page’ Dropdown

    Then select the blog page that you had set up.

    then save and visit the page again, and see if that doesnt work.
    I notice that you have “our-blog-2” as the page slug (shows that in the url) So their maybe two “Our Blog” choices in the dropdown. If you try the above steps and nothing changes, try changing it to the second “Our Blog” in the dropdown.

    Going to attempt to redeem myself here.

    <?php
    //Place your new functions here in between the normal php tags
    //Save it in the child theme's directory as a NEW functions.php
    //these will be loaded before the parent theme functions
    ?>

    @podxt
    Sorry that my solution did not help.

    I could provide an alternative to what you are trying to do?
    I take it you are making a back-to-top button with an animated scroll.

    The HTML

    <a href="javascript:void(0);" class="scrollup">Scroll</a>

    The Javascript (put this just before the end body tag in the footer.php)

    jQuery(document).ready(function ($) {
    	$(".scrollup").click(function () {
    		$("body").animate({ scrollTop: "0px" });
    	});
    });

    And then of course whatever CSS you wanna add to it.
    If you place all of the above code (excluding CSS) in the footer.php just before the end body tag, then you should be able to see it on all pages as well.

    @fashion

    Appearance > Menus

    Then head up to “Screen Options” in the top right.
    This will drop down a few checklist options.
    Click the one that says “Link Target” Then refresh the page.

    Now when you open up each menu item from Appearance > Menus there should be an option called “open link in new window/tab”

    Make sure that box is unchecked.

    Ah, apologies. did not notice that.
    Try this:

    Take the shortcode you used to display it, and move it just inside the opening nav tag that you used to call up the menu.

    <nav>
    /*—Insert here—*/
    /*—Then here is the php for the wordpress menu—*/

    Then switch out the aforementioned css styles with the following:

    position: relative;
    float: right;
    margin: 5px 75px 0 0;

    This puts it just left of the search icon, and then when the user clicks the search icon it brings up the search bar and overlays the social icons.

    use CSS

    Add the image in the text editor as you normally would,
    and then head into the “text” tab instead of visual.

    Look for your image (should be <img alt=”blahblahblah” src=”whatever” />

    before the bracket closes add:

    style=”position: relative; float: right;”

    Hopefully that helps

    I was in the same position as you once.
    My solution came with how I had my javascript.

    instead of
    $(document).ready(function(){

    use
    jQuery( document ).ready(function( $ ) {

    Hope that helps. if not, lemme know.

Viewing 15 replies - 121 through 135 (of 148 total)